|
org.netbeans.modules.classfile/1 1.19 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.classfile.Field
org.netbeans.modules.classfile.Method
public final class Method
A Java method object.
Method Summary | |
---|---|
ElementValue |
getAnnotationDefault()
Returns the default annotation value for the element defined by this method. |
Code |
getCode()
Get the bytecodes of this method. |
String |
getDeclaration()
|
CPClassInfo[] |
getExceptionClasses()
|
List<Parameter> |
getParameters()
Returns the parameters for this method as a declaration-ordered list. |
String |
getReturnSignature()
Returns the method's return type as it would be defined in Java source code format. |
String |
getReturnType()
Returns the method's return type in the type format defined by the JVM Specification for Field Descriptors (section 4.3.2). |
boolean |
isAbstract()
Returns true if this method is declared abstract. |
boolean |
isBridge()
Returns true if this method is a generics bridge method defined by the compiler. |
boolean |
isNative()
Returns true if this method is declared native. |
boolean |
isSynchronized()
Returns true if this method is declared synchronized. |
boolean |
isVarArgs()
Returns true if this method is declared with a variable number of arguments. |
String |
toString()
|
Methods inherited from class org.netbeans.modules.classfile.Field |
---|
getAccess, getAnnotation, getAnnotations, getAttributes, getClassFile, getDescriptor, getName, getTypeSignature, isAnnotationPresent, isDeprecated, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isSynthetic |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final Code getCode()
public final CPClassInfo[] getExceptionClasses()
public final boolean isBridge()
public final boolean isVarArgs()
public final boolean isSynchronized()
public final boolean isNative()
public final boolean isAbstract()
public final List<Parameter> getParameters()
public final String getReturnType()
public final String getReturnSignature()
public ElementValue getAnnotationDefault()
public String toString()
public final String getDeclaration()
getDeclaration
in class Field
|
org.netbeans.modules.classfile/1 1.19 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |