protected class Transformer.ForMethod.TransformedMethod.TransformedParameter extends ParameterDescription.AbstractBase
ParameterDescription.AbstractBase, ParameterDescription.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.OfEnumerationNAME_PREFIXEMPTY_NAME, NO_NAMEEMPTY_MASK| Modifier | Constructor and Description |
|---|---|
protected |
TransformedParameter(int index,
ParameterDescription.Token parameterToken)
Creates a transformed parameter.
|
| Modifier and Type | Method and Description |
|---|---|
ParameterDescription.InDefinedShape |
asDefined()
Returns this type dependant in its defined shape, i.e.
|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
MethodDescription |
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.
|
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. |
asToken, 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, waitgetParameterManifestation, getProvisioningState, isMandatedgetSyntheticState, isFinal, isSyntheticprotected TransformedParameter(int index,
ParameterDescription.Token parameterToken)
index - The index of the transformed method.parameterToken - The token representing the transformed method parameter's properties.public TypeDescription.Generic getType()
public MethodDescription 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 String getName()
getName in interface NamedElement.WithRuntimeNamegetName in class ParameterDescription.AbstractBasepublic int getModifiers()
getModifiers in interface ModifierReviewablegetModifiers in class ParameterDescription.AbstractBasepublic AnnotationList getDeclaredAnnotations()
public ParameterDescription.InDefinedShape asDefined()
Copyright © 2014–2020. All rights reserved.