public abstract static class ParameterDescription.AbstractBase extends ModifierReviewable.AbstractBase implements ParameterDescription
ParameterDescription.AbstractBase, ParameterDescription.ForLoadedParameter<T extends AccessibleObject>, ParameterDescription.InDefinedShape, ParameterDescription.InGenericShape, ParameterDescription.Latent, ParameterDescription.Token, ParameterDescription.TypeSubstituting
NamedElement.WithGenericName, NamedElement.WithOptionalName, NamedElement.WithRuntimeName
ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
NAME_PREFIX
EMPTY_NAME, NO_NAME
EMPTY_MASK
Constructor and Description |
---|
AbstractBase() |
Modifier and Type | Method and Description |
---|---|
ParameterDescription.Token |
asToken(ElementMatcher<? super TypeDescription> matcher)
Returns a token representative of this type dependant.
|
boolean |
equals(Object other) |
String |
getActualName()
Returns the name of this element as it is found in the source code.
|
String |
getInternalName()
Returns the internal internalName of this byte code element.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
String |
getName()
Returns the internalName of this byte code element.
|
int |
getOffset()
Returns the offset to the parameter value within the local method variable.
|
int |
hashCode() |
String |
toString() |
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
getDeclaringMethod, getIndex, getType, hasModifiers
getDeclaredAnnotations
isNamed
isMandated
isFinal, isSynthetic
asDefined
public String getName()
NamedElement.WithRuntimeName
getName
in interface NamedElement.WithRuntimeName
public String getInternalName()
NamedElement.WithRuntimeName
getInternalName
in interface NamedElement.WithRuntimeName
public String getActualName()
NamedElement
getActualName
in interface NamedElement
public int getModifiers()
ModifierReviewable
getModifiers
in interface ModifierReviewable
public int getOffset()
ParameterDescription
getOffset
in interface ParameterDescription
public ParameterDescription.Token asToken(ElementMatcher<? super TypeDescription> matcher)
ByteCodeElement.TypeDependant
TargetType
descriptions.asToken
in interface ByteCodeElement.TypeDependant<ParameterDescription.InDefinedShape,ParameterDescription.Token>
matcher
- A matcher to identify types to be replaced by TargetType
descriptions.Copyright © 2014–2016. All rights reserved.