| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public Annotation | getDeclaredAnnotation(Class<? extends Annotation> annotationType)
Returns an |
| public Annotation[] | getDeclaredAnnotations()
Returns an array of |
| public Class | getDeclaringClass()
Returns the Class object representing the class or interface that declares the field. |
| public Class | getElementType(int index)
If the type of the field is parameterized, returns the Class object representing the parameter type at the specified index, null otherwise. |
| public String | |
| public Class | |
| public boolean | |
| public boolean | isAnnotationPresent(Class<? extends Annotation> annotationType)
Returns true if the field includes an annotation of the provided class type. |
| public boolean | isDefaultAccess()
Return true if the field does not include any of the |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public void | |
| public void |
| field | back to summary |
|---|---|
| private final Field field | |
| Field | back to summary |
|---|---|
| pack-priv Field(Field field) | |
| get | back to summary |
|---|---|
| public Object get(Object obj) throws ReflectionException Returns the value of the field on the supplied object. | |
| getDeclaredAnnotation | back to summary |
|---|---|
| public Annotation getDeclaredAnnotation(Class<? extends Annotation> annotationType) Returns an | |
| getDeclaredAnnotations | back to summary |
|---|---|
| public Annotation[] getDeclaredAnnotations() Returns an array of | |
| getDeclaringClass | back to summary |
|---|---|
| public Class Returns the Class object representing the class or interface that declares the field. | |
| getElementType | back to summary |
|---|---|
| public Class If the type of the field is parameterized, returns the Class object representing the parameter type at the specified index, null otherwise. | |
| getName | back to summary |
|---|---|
| public String getName() Returns the name of the field. | |
| getType | back to summary |
|---|---|
| public Class Returns a Class object that identifies the declared type for the field. | |
| isAccessible | back to summary |
|---|---|
| public boolean isAccessible() | |
| isAnnotationPresent | back to summary |
|---|---|
| public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) Returns true if the field includes an annotation of the provided class type. | |
| isDefaultAccess | back to summary |
|---|---|
| public boolean isDefaultAccess() Return true if the field does not include any of the | |
| isFinal | back to summary |
|---|---|
| public boolean isFinal() Return true if the field includes the | |
| isPrivate | back to summary |
|---|---|
| public boolean isPrivate() Return true if the field includes the | |
| isProtected | back to summary |
|---|---|
| public boolean isProtected() Return true if the field includes the | |
| isPublic | back to summary |
|---|---|
| public boolean isPublic() Return true if the field includes the | |
| isStatic | back to summary |
|---|---|
| public boolean isStatic() Return true if the field includes the | |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() Return true if the field is a synthetic field. | |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Return true if the field includes the | |
| isVolatile | back to summary |
|---|---|
| public boolean isVolatile() Return true if the field includes the | |
| set | back to summary |
|---|---|
| public void set(Object obj, Object value) throws ReflectionException Sets the value of the field on the supplied object. | |
| setAccessible | back to summary |
|---|---|
| public void setAccessible(boolean accessible) | |