protected static class ParameterDescription.ForLoadedParameter.OfConstructor extends ParameterDescription.ForLoadedParameter<Constructor<?>>
Constructor
parameter for a modern VM.ParameterDescription.ForLoadedParameter.Dispatcher, ParameterDescription.ForLoadedParameter.OfConstructor, ParameterDescription.ForLoadedParameter.OfLegacyVmConstructor, ParameterDescription.ForLoadedParameter.OfLegacyVmMethod, ParameterDescription.ForLoadedParameter.OfMethod, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource
ParameterDescription.InDefinedShape.AbstractBase
ParameterDescription.ForLoadedParameter<T extends AccessibleObject>, ParameterDescription.InDefinedShape, ParameterDescription.InGenericShape, ParameterDescription.Latent, ParameterDescription.Token, ParameterDescription.TypeSubstituting
AnnotationSource.Empty, AnnotationSource.Explicit
NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
executable, index, parameterAnnotationSource
NAME_PREFIX
EMPTY_NAME, NO_NAME
EMPTY_MASK
Modifier | Constructor and Description |
---|---|
protected |
OfConstructor(Constructor<?> constructor,
int index,
ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
Creates a new description for a loaded constructor.
|
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, getActualName, getInternalName, getOffset, hashCode, toString
getEnumerationState, 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, isVolatile
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getOffset
getInternalName
getActualName
getParameterManifestation, getProvisioningState, isMandated
getSyntheticState, isFinal, isSynthetic
asToken
protected OfConstructor(Constructor<?> constructor, int index, ParameterDescription.ForLoadedParameter.ParameterAnnotationSource parameterAnnotationSource)
constructor
- The constructor 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–2019. All rights reserved.