public abstract static class FieldDescription.AbstractBase extends ModifierReviewable.AbstractBase implements FieldDescription
FieldDescription.AbstractBase, FieldDescription.ForLoadedField, FieldDescription.InDefinedShape, FieldDescription.Latent, FieldDescription.Token, FieldDescription.TypeSubstitutingByteCodeElement.TypeDependant<T extends ByteCodeElement.TypeDependant<?,S>,S extends ByteCodeElement.Token<S>>NamedElement.WithGenericName, NamedElement.WithRuntimeNameNO_DEFAULT_VALUENON_GENERIC_SIGNATUREEMPTY_MASKEMPTY_NAME| Constructor and Description |
|---|
AbstractBase() |
| Modifier and Type | Method and Description |
|---|---|
FieldDescription.Token |
asToken()
Returns a token representative of this type dependant.
|
FieldDescription.Token |
asToken(ElementMatcher<? super GenericTypeDescription> targetTypeMatcher)
Returns a token representative of this type dependant.
|
boolean |
equals(Object other) |
String |
getDescriptor()
Returns the descriptor of this byte code element.
|
String |
getGenericSignature()
Returns the generic signature of this byte code element.
|
String |
getInternalName()
Returns the internal internalName of this byte code element.
|
String |
getSourceCodeName()
Returns the name of this element as it is found in the source code.
|
int |
hashCode() |
boolean |
isVisibleTo(TypeDescription typeDescription)
Checks if this element is visible from a given type.
|
String |
toGenericString()
Returns a generic string of this byte code element.
|
String |
toString() |
isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatileclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetTypegetModifiers, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatilegetDeclaringTypegetDeclaredAnnotationsgetNameasDefinedpublic String getInternalName()
NamedElement.WithRuntimeNamegetInternalName in interface NamedElement.WithRuntimeNamepublic String getSourceCodeName()
NamedElementgetSourceCodeName in interface NamedElementpublic String getDescriptor()
ByteCodeElementgetDescriptor in interface ByteCodeElementpublic String getGenericSignature()
ByteCodeElementnull is returned as a signature.getGenericSignature in interface ByteCodeElementnull if this element is not generic.public boolean isVisibleTo(TypeDescription typeDescription)
ByteCodeElementisVisibleTo in interface ByteCodeElementtypeDescription - The type which is checked for its access of this element.true if this element is visible for typeDescription.public FieldDescription.Token asToken()
ByteCodeElement.TypeDependantasToken in interface ByteCodeElement.TypeDependant<FieldDescription.InDefinedShape,FieldDescription.Token>public FieldDescription.Token asToken(ElementMatcher<? super GenericTypeDescription> targetTypeMatcher)
ByteCodeElement.TypeDependantTargetType descriptions.asToken in interface ByteCodeElement.TypeDependant<FieldDescription.InDefinedShape,FieldDescription.Token>targetTypeMatcher - A matcher to identify types to be replaced by TargetType descriptions.public String toGenericString()
NamedElement.WithGenericNametoGenericString in interface NamedElement.WithGenericNameCopyright © 2014–2015. All rights reserved.