public abstract static class FieldDescription.AbstractFieldDescription extends ModifierReviewable.AbstractModifierReviewable implements FieldDescription
FieldDescription.AbstractFieldDescription, FieldDescription.ForLoadedField, FieldDescription.Latent
ModifierReviewable.AbstractModifierReviewable
EMPTY_NAME
EMPTY_MASK
Constructor and Description |
---|
AbstractFieldDescription() |
Modifier and Type | Method and Description |
---|---|
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 byte code element as it is defined in Java source code.
|
int |
hashCode() |
boolean |
isVisibleTo(TypeDescription typeDescription)
Checks if this element is visible from a given type.
|
String |
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
getFieldType
getName
getModifiers, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
getDeclaringType
getDeclaredAnnotations
public String getInternalName()
NamedElement
getInternalName
in interface NamedElement
public String getSourceCodeName()
NamedElement
NamedElement.getName()
.getSourceCodeName
in interface NamedElement
public String getDescriptor()
ByteCodeElement
getDescriptor
in interface ByteCodeElement
public String getGenericSignature()
ByteCodeElement
getGenericSignature
in interface ByteCodeElement
null
if this element is not generic.public boolean isVisibleTo(TypeDescription typeDescription)
ByteCodeElement
isVisibleTo
in interface ByteCodeElement
typeDescription
- The type which is checked for its access of this element.true
if this element is visible for typeDescription
.Copyright © 2014–2015. All rights reserved.