public abstract static class FieldDescription.AbstractFieldDescription extends ModifierReviewable.AbstractModifierReviewable implements FieldDescription
FieldDescription.AbstractFieldDescription, FieldDescription.ForLoadedField, FieldDescription.Latent
ModifierReviewable.AbstractModifierReviewable
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.
|
int |
hashCode() |
boolean |
isVisibleTo(TypeDescription typeDescription)
Checks if this element is visible from a given type.
|
isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getFieldType
getModifiers, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
getName
getDeclaringType
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, isAnnotationPresent
public String getInternalName()
ByteCodeElement
getInternalName
in interface ByteCodeElement
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. All rights reserved.