private class TypePool.Default.LazyTypeDescription.LazyMethodDescription.LazyParameterDescription extends ParameterDescription.InDefinedShape.AbstractBase
ParameterDescription.InDefinedShape.AbstractBase
ParameterDescription.ForLoadedParameter<T extends java.lang.reflect.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
Modifier and Type | Field and Description |
---|---|
private int |
index
The index of the described parameter.
|
NAME_PREFIX
EMPTY_NAME, NO_NAME
EMPTY_MASK
Modifier | Constructor and Description |
---|---|
protected |
LazyParameterDescription(int index)
Creates a new description for a given parameter of the enclosing 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.
|
int |
getIndex()
Returns this parameter's index.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
java.lang.String |
getName()
Returns the internalName of this byte code element.
|
TypeDescription.Generic |
getType()
Returns the type of this parameter.
|
boolean |
hasModifiers()
Checks if this parameter has an explicit modifier.
|
boolean |
isNamed()
Returns
true if this element has an explicit name. |
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 LazyParameterDescription(int index)
index
- The index of the described parameter.public MethodDescription.InDefinedShape getDeclaringMethod()
public int getIndex()
public boolean isNamed()
true
if this element has an explicit name.true
if this element has an explicit name.public boolean hasModifiers()
true
if this parameter defines explicit modifiers.public java.lang.String getName()
getName
in interface NamedElement.WithRuntimeName
getName
in class ParameterDescription.AbstractBase
public int getModifiers()
getModifiers
in interface ModifierReviewable
getModifiers
in class ParameterDescription.AbstractBase
public TypeDescription.Generic getType()
public AnnotationList getDeclaredAnnotations()