blob: 5e6472f4fc40808d03d1cc3b2ee07b4cecf17e47 [file] [log] [blame]
package org.eclipse.jdt.debug.core;
/**********************************************************************
Copyright (c) 2000, 2002 IBM Corp. All rights reserved.
This file is made available under the terms of the Common Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/cpl-v10.html
**********************************************************************/
import org.eclipse.core.runtime.CoreException;
/**
* A method entry breakpoint suspends execution on the first
* executable line of a method when entered. Entry breakpoints
* are only installable in methods that have executable code (i.e.
* do not work in native methods).
* <p>
* This breakpoint provides a subset of the function provided by
* <code>IJavaMethodBreakpoint</code> - i.e. break on enter. The
* implementation of this breakpoint is more efficient than the
* general method breakpoint, as the implementation is based on line
* breakpoints and does not require method enter/exit tracing in the
* target VM.
* </p>
* <p>
* Clients are not intended to implement this interface.
* </p>
* @since 2.0
*/
public interface IJavaMethodEntryBreakpoint extends IJavaLineBreakpoint {
/**
* Returns the name of the method this breakpoint suspends
* execution in.
*
* @return the name of the method this breakpoint suspends
* execution in
* @exception CoreException if unable to access the property from
* this breakpoint's underlying marker
*/
public String getMethodName() throws CoreException;
/**
* Returns the signature of the method this breakpoint suspends
* execution in.
*
* @return the signature of the method this breakpoint suspends
* execution in
* @exception CoreException if unable to access the property from
* this breakpoint's underlying marker
*/
public String getMethodSignature() throws CoreException;
}