|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CodeMethod
Wrap up details about a method in a Java class file
Method Summary | |
---|---|
CodeClass |
getContainingClass()
The class that contains this method |
java.lang.String |
getDescriptor()
A human-readable description of the class |
java.lang.String |
getFullName()
The fully qualified name for this class |
int |
getModifiers()
Get the modifiers, such as PUBLIC, ABSTRACT and so on |
java.lang.String |
getName()
The name of the method. |
CodeClass |
getParameterType(int pos)
Get the type of the parameter at a given position |
CodeClass |
getReturnType()
Get the return type |
int |
numParameters()
Get the number of parameters taken by this method |
Method Detail |
---|
java.lang.String getName()
CodeClass getContainingClass()
java.lang.String getFullName()
java.lang.String getDescriptor()
int getModifiers()
CodeClass getReturnType()
int numParameters()
CodeClass getParameterType(int pos)
pos
- the position to fetch the parameter type for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |