protected static class ParameterDescription.ForLoadedParameter.OfMethod extends ParameterDescription.ForLoadedParameter<Method>
Method
parameter for a modern VM.ParameterDescription.ForLoadedParameter.Dispatcher, ParameterDescription.ForLoadedParameter.OfConstructor, ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor, ParameterDescription.ForLoadedParameter.OfLegacyVmMethod, ParameterDescription.ForLoadedParameter.OfMethod
ParameterDescription.InDefinedShape.AbstractBase
ParameterDescription.ForLoadedParameter<T>, ParameterDescription.InDefinedShape, ParameterDescription.InGenericShape, ParameterDescription.Latent, ParameterDescription.Token, ParameterDescription.TypeSubstituting
NamedElement.WithGenericName, NamedElement.WithRuntimeName
executable, index
NAME_PREFIX
EMPTY_NAME, NO_NAME
EMPTY_MASK
Modifier | Constructor and Description |
---|---|
protected |
OfMethod(Method method,
int index)
Creates a new description for a loaded method.
|
Modifier and Type | Method and Description |
---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
MethodDescription.InDefinedShape |
getDeclaringMethod()
Returns the method that declares this parameter.
|
TypeDescription.Generic |
getType()
Returns the type of this parameter.
|
getIndex, getModifiers, getName, hasModifiers, isNamed
asDefined
asToken, equals, getInternalName, getOffset, getSourceCodeName, hashCode, toString
isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getOffset
getInternalName
getSourceCodeName
isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
asToken
protected OfMethod(Method method, int index)
method
- The method for which a parameter is represented.index
- The index of the parameter.public MethodDescription.InDefinedShape getDeclaringMethod()
ParameterDescription
public TypeDescription.Generic getType()
ParameterDescription
public AnnotationList getDeclaredAnnotations()
AnnotatedCodeElement
Copyright © 2014–2016. All rights reserved.