public class ReflectionField extends BaseFieldReference implements Field
Reference.InvalidReferenceException| Constructor and Description |
|---|
ReflectionField(java.lang.reflect.Field field) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAccessFlags()
Gets the access flags for this field.
|
java.util.Set<? extends Annotation> |
getAnnotations()
Gets a set of the annotations that are applied to this field.
|
java.lang.String |
getDefiningClass()
Gets the type of the class that defines this field.
|
EncodedValue |
getInitialValue()
Gets the initial value for this field, if available.
|
java.lang.String |
getName()
Gets the name of this field.
|
java.lang.String |
getType()
Gets the type of this field.
|
compareTo, equals, hashCode, toStringvalidateReferenceclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompareTo, equals, hashCodevalidateReferencepublic int getAccessFlags()
FieldgetAccessFlags in interface FieldgetAccessFlags in interface Member@Nullable public EncodedValue getInitialValue()
FieldgetInitialValue in interface Field@Nonnull public java.util.Set<? extends Annotation> getAnnotations()
FieldgetAnnotations in interface AnnotatablegetAnnotations in interface Field@Nonnull public java.lang.String getDefiningClass()
FieldgetDefiningClass in interface FieldgetDefiningClass in interface MembergetDefiningClass in interface FieldReference@Nonnull public java.lang.String getName()
Field@Nonnull public java.lang.String getType()
FieldgetType in interface FieldgetType in interface FieldReference