protected class InstrumentedType.AbstractBase.MethodToken extends MethodDescription.AbstractMethodDescription
| Modifier and Type | Class and Description |
|---|---|
protected class |
InstrumentedType.AbstractBase.MethodToken.ParameterToken
An implementation of a method parameter for a method of an instrumented type.
|
MethodDescription.AbstractMethodDescription, MethodDescription.ForLoadedConstructor, MethodDescription.ForLoadedMethod, MethodDescription.LatentModifierReviewable.AbstractModifierReviewableCONSTRUCTOR_INTERNAL_NAME, TYPE_INITIALIZER_INTERNAL_NAME, TYPE_INITIALIZER_MODIFIEREMPTY_NAMEEMPTY_MASK| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeDescription |
getDeclaringType()
Returns the declaring type of this instance.
|
Object |
getDefaultValue()
Returns the default value of this method or
null if no such value exists. |
TypeList |
getExceptionTypes()
Returns a description of the exception types of the method described by this instance.
|
String |
getInternalName()
Returns the internal internalName of this byte code element.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
ParameterList |
getParameters()
Returns a list of this method's parameters.
|
TypeDescription |
getReturnType()
Returns a description of the return type of the method described by this instance.
|
equals, getAdjustedModifiers, getDefaultValue, getDescriptor, getGenericSignature, getName, getSourceCodeName, getStackSize, getUniqueSignature, hashCode, isBootstrap, isBootstrap, isConstructor, isDefaultMethod, isDefaultValue, isDefaultValue, isInvokableOn, isMethod, isOverridable, isSpecializableFor, isTypeInitializer, isVisibleTo, represents, represents, toStringisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatilepublic TypeDescription getReturnType()
MethodDescriptionpublic TypeList getExceptionTypes()
MethodDescriptionpublic ParameterList getParameters()
MethodDescriptionpublic AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementpublic String getInternalName()
NamedElementpublic TypeDescription getDeclaringType()
DeclaredInTypenull if no such type exists.public int getModifiers()
ModifierReviewablepublic Object getDefaultValue()
MethodDescriptionnull if no such value exists. The returned values might be
of a different type than usual:
Class values are represented as
TypeDescriptions.Annotation values are represented as
AnnotationDescriptionsEnum values are represented as
EnumerationDescriptions.null.Copyright © 2014–2015. All rights reserved.