A FieldProperty is a Property which is accessed as a field, without
going through accessor methods (setX, getX). The field may have any scope (public, package,
protected, private).
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | |
| public <A extends Annotation> A | getAnnotation(Class<A>
the type of the annotation to be returned annotationType)Implements abstract org. null if it's not present.
|
| public List | getAnnotations()
Implements abstract org. List if there're no
annotations.
|
| public void |
| field | back to summary |
|---|---|
| private final Field field | |
| FieldProperty | back to summary |
|---|---|
| public FieldProperty(Field field) | |
| get | back to summary |
|---|---|
| public Object get(Object object) Implements abstract org.
| |
| getAnnotation | back to summary |
|---|---|
| public <A extends Annotation> A getAnnotation(Class<A> annotationType) Implements abstract org. Doc from org. Returns property's annotation for the given type or | |
| getAnnotations | back to summary |
|---|---|
| public List Implements abstract org. Doc from org. Returns the annotations that are present on this property or empty
| |
| set | back to summary |
|---|---|
| public void set(Object object, Object value) throws Exception Implements abstract org.
| |