public static class FieldDescription.Latent extends FieldDescription.AbstractFieldDescription
TypeDescription.FieldDescription.AbstractFieldDescription, FieldDescription.ForLoadedField, FieldDescription.LatentModifierReviewable.AbstractModifierReviewableEMPTY_NAMEEMPTY_MASK| Constructor and Description |
|---|
Latent(String fieldName,
TypeDescription declaringType,
TypeDescription fieldType,
int modifiers)
Creates an immutable latent field description.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationList |
getDeclaredAnnotations()
Returns a list of annotations that are declared by this instance.
|
TypeDescription |
getDeclaringType()
Returns the declaring type of this instance.
|
TypeDescription |
getFieldType()
Returns a description of the type of this field.
|
int |
getModifiers()
Returns the modifier that is described by this object.
|
String |
getName()
Returns the internalName of this byte code element.
|
equals, getDescriptor, getGenericSignature, getInternalName, getSourceCodeName, hashCode, isVisibleTo, toStringisAbstract, 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, waitisAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatilepublic Latent(String fieldName, TypeDescription declaringType, TypeDescription fieldType, int modifiers)
fieldName - The name of the field.declaringType - The type for which this field is defined.fieldType - The type of the field.modifiers - The field's modifiers.public TypeDescription getFieldType()
FieldDescriptionpublic AnnotationList getDeclaredAnnotations()
AnnotatedCodeElementpublic String getName()
NamedElementpublic TypeDescription getDeclaringType()
DeclaredInTypenull if no such type exists.public int getModifiers()
ModifierReviewableCopyright © 2014–2015. All rights reserved.