|
org.netbeans.modules.projectapi/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.spi.project.SingleMethod
public final class SingleMethod
Structure representing an identification of a single method/function in a file.
Field Summary | |
---|---|
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 Summary | |
---|---|
SingleMethod(FileObject file,
String methodName)
Creates a new instance holding the specified identification of a method/function in a file. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
FileObject |
getFile()
Returns the file identification. |
String |
getMethodName()
Returns name of a method/function within the file. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMMAND_RUN_SINGLE_METHOD
public static final String COMMAND_DEBUG_SINGLE_METHOD
Constructor Detail |
---|
public SingleMethod(FileObject file, String methodName)
file
- file to be kept in the objectmethodName
- name of a method inside the file
IllegalArgumentException
- if the file or method name is null
Method Detail |
---|
public FileObject getFile()
public String getMethodName()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
org.netbeans.modules.projectapi/1 1.36.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |