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.OfMethodParameterDescription.InDefinedShape.AbstractBaseParameterDescription.ForLoadedParameter<T extends AccessibleObject>, ParameterDescription.InDefinedShape, ParameterDescription.InGenericShape, ParameterDescription.Latent, ParameterDescription.Token, ParameterDescription.TypeSubstitutingNamedElement.WithGenericName, NamedElement.WithRuntimeNameexecutable, indexNAME_PREFIXEMPTY_NAME, NO_NAMEEMPTY_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, isNamedasDefinedasToken, equals, getInternalName, getOffset, getSourceCodeName, hashCode, 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, waitgetOffsetgetInternalNamegetSourceCodeNameisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileasTokenprotected OfMethod(Method method, int index)
method - The method for which a parameter is represented.index - The index of the parameter.public MethodDescription.InDefinedShape getDeclaringMethod()
ParameterDescriptionpublic TypeDescription.Generic getType()
ParameterDescriptionpublic AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementCopyright © 2014–2016. All rights reserved.