public class NdMethod extends NdBinding
| Modifier and Type | Field and Description |
|---|---|
static FieldOneToMany<NdAnnotationInMethod> |
ANNOTATIONS |
static FieldOneToMany<NdVariable> |
DECLARED_VARIABLES |
static FieldOneToOne<NdConstant> |
DEFAULT_VALUE |
static FieldOneToMany<NdMethodException> |
EXCEPTIONS |
static byte |
FLG_GENERIC_SIGNATURE_PRESENT |
static byte |
FLG_THROWS_SIGNATURE_PRESENT |
static FieldShort |
METHOD_FLAGS |
static FieldManyToOne<NdMethodId> |
METHOD_ID |
static FieldOneToMany<NdMethodParameter> |
PARAMETERS |
static FieldManyToOne<NdType> |
PARENT |
static FieldManyToOne<NdTypeSignature> |
RETURN_TYPE |
static FieldLong |
TAG_BITS |
static StructDef<NdMethod> |
type |
static FieldOneToMany<NdTypeAnnotationInMethod> |
TYPE_ANNOTATIONS |
FILE, MODIFIERS, TYPE_PARAMETERS, VARIABLES| Constructor and Description |
|---|
NdMethod(Nd nd,
long address) |
NdMethod(NdType parent) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<NdAnnotationInMethod> |
getAnnotations() |
NdConstant |
getDefaultValue() |
java.util.List<NdMethodException> |
getExceptions() |
int |
getFlags() |
void |
getGenericSignature(CharArrayBuffer result,
boolean includeExceptions) |
NdMethodId |
getMethodId() |
java.util.List<NdMethodParameter> |
getMethodParameters() |
char[][] |
getParameterNames()
Returns method parameter names that were not defined by the compiler.
|
NdTypeSignature |
getReturnType()
Returns the return type for this method or null if the method returns void
|
long |
getTagBits() |
java.util.List<NdTypeAnnotationInMethod> |
getTypeAnnotations() |
boolean |
hasAllFlags(int flags) |
void |
setDefaultValue(NdConstant value) |
void |
setFlags(int flags) |
void |
setMethodId(NdMethodId methodId) |
void |
setReturnType(NdTypeSignature createTypeSignature) |
void |
setTagBits(long bits) |
java.lang.String |
toString() |
getAdapter, getBindingConstant, getFile, getModifiers, getTypeParameters, getTypeParameterSignatures, getVariables, hasModifier, setFile, setModifierspublic static final FieldManyToOne<NdMethodId> METHOD_ID
public static final FieldShort METHOD_FLAGS
public static final FieldManyToOne<NdType> PARENT
public static final FieldOneToMany<NdVariable> DECLARED_VARIABLES
public static final FieldOneToMany<NdMethodParameter> PARAMETERS
public static final FieldOneToOne<NdConstant> DEFAULT_VALUE
public static final FieldOneToMany<NdMethodException> EXCEPTIONS
public static final FieldManyToOne<NdTypeSignature> RETURN_TYPE
public static final FieldLong TAG_BITS
public static final FieldOneToMany<NdAnnotationInMethod> ANNOTATIONS
public static final FieldOneToMany<NdTypeAnnotationInMethod> TYPE_ANNOTATIONS
public static final byte FLG_GENERIC_SIGNATURE_PRESENT
public static final byte FLG_THROWS_SIGNATURE_PRESENT
public NdMethod(Nd nd, long address)
public NdMethod(NdType parent)
public NdMethodId getMethodId()
public char[][] getParameterNames()
public java.util.List<NdMethodParameter> getMethodParameters()
public java.util.List<NdAnnotationInMethod> getAnnotations()
public void setDefaultValue(NdConstant value)
public NdConstant getDefaultValue()
public void setReturnType(NdTypeSignature createTypeSignature)
public void setMethodId(NdMethodId methodId)
public java.util.List<NdTypeAnnotationInMethod> getTypeAnnotations()
public java.util.List<NdMethodException> getExceptions()
public NdTypeSignature getReturnType()
public int getFlags()
public boolean hasAllFlags(int flags)
public void setFlags(int flags)
public void setTagBits(long bits)
public long getTagBits()
public java.lang.String toString()
toString in class java.lang.Objectpublic void getGenericSignature(CharArrayBuffer result, boolean includeExceptions)