public final class SingleMethod extends Object
Modifier and Type | Field and Description |
---|---|
static String |
COMMAND_DEBUG_SINGLE_METHOD
Standard command for running single method/function in debugger
|
static String |
COMMAND_RUN_SINGLE_METHOD
Standard command for running single method/function
|
Constructor and Description |
---|
SingleMethod(FileObject file,
String methodName)
Creates a new instance holding the specified identification
of a method/function in a file.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
FileObject |
getFile()
Returns the file identification.
|
String |
getMethodName()
Returns name of a method/function within the file.
|
int |
hashCode() |
public static final String COMMAND_RUN_SINGLE_METHOD
public static final String COMMAND_DEBUG_SINGLE_METHOD
public SingleMethod(FileObject file, String methodName)
file
- file to be kept in the objectmethodName
- name of a method inside the fileIllegalArgumentException
- if the file or method name is null
public FileObject getFile()
public String getMethodName()