public static class FieldDescription.Latent extends FieldDescription.AbstractFieldDescription
TypeDescription
.FieldDescription.AbstractFieldDescription, FieldDescription.ForLoadedField, FieldDescription.Latent
ModifierReviewable.AbstractModifierReviewable
EMPTY_NAME
EMPTY_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, 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
isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isMandated, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarArgs, isVolatile
public 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()
FieldDescription
public AnnotationList getDeclaredAnnotations()
AnnotatedCodeElement
public String getName()
NamedElement
public TypeDescription getDeclaringType()
DeclaredInType
null
if no such type exists.public int getModifiers()
ModifierReviewable
Copyright © 2014–2015. All rights reserved.