protected static class ParameterDescription.ForLoadedParameter.OfMethod extends ParameterDescription.ForLoadedParameter<Method>
Method parameter for a modern VM.ParameterDescription.ForLoadedParameter.OfConstructor, ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor, ParameterDescription.ForLoadedParameter.OfLegacyVmMethod, ParameterDescription.ForLoadedParameter.OfMethod, ParameterDescription.ForLoadedParameter.Parameter, ParameterDescription.ForLoadedParameter.ParameterAnnotationSourceParameterDescription.InDefinedShape.AbstractBaseParameterDescription.ForLoadedParameter<T extends AccessibleObject>, ParameterDescription.InDefinedShape, ParameterDescription.InGenericShape, ParameterDescription.Latent, ParameterDescription.Token, ParameterDescription.TypeSubstitutingAnnotationSource.Empty, AnnotationSource.ExplicitNamedElement.WithDescriptor, NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeNameModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumerationexecutable, index, parameterAnnotationSourceNAME_PREFIXEMPTY_NAME, NO_NAMEEMPTY_MASK| Modifier | Constructor and Description |
|---|---|
protected |
OfMethod(Method method,
int index,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
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, getActualName, getInternalName, getOffset, hashCode, toStringgetEnumerationState, getFieldManifestation, getFieldPersistence, getMethodManifestation, getMethodStrictness, getOwnership, getParameterManifestation, getProvisioningState, getSynchronizationState, getSyntheticState, getTypeManifestation, getVisibility, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOffsetgetInternalNamegetActualNamegetParameterManifestation, getProvisioningState, isMandatedgetSyntheticState, isFinal, isSyntheticasTokenprotected OfMethod(Method method, int index, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
method - The method for which a parameter is represented.index - The index of the parameter.parameterAnnotationSource - The parameter annotation source to query.public MethodDescription.InDefinedShape getDeclaringMethod()
public TypeDescription.Generic getType()
public AnnotationList getDeclaredAnnotations()
Copyright © 2014–2023. All rights reserved.