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.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 |
OfConstructor(Constructor<?> constructor,
int index)
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, 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 OfConstructor(Constructor<?> constructor, int index)
constructor
- The constructor 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.