| Modifier and Type | Field and Description |
|---|---|
| protected final Field |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Implements abstract tools. Indicates whether some other object is "equal to" this one. |
| public Field | getAnnotated()
Implements abstract tools. Method that can be used to find actual JDK element that this instance represents. |
| public int | |
| public Class | getDeclaringClass()
Implements abstract tools. Actual physical class in which this member was declared. |
| public Member | |
| public int | |
| public String | |
| public Class | getRawType()
Implements abstract tools. "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class. |
| public JavaType | getType()
Implements abstract tools. Full generic type of the annotated element; definition of what exactly this means depends on sub-class. |
| public Object | getValue(Object pojo)
Implements abstract tools. Optional method that can be used to access the value of this member on given object, if this is a supported operation for member type. |
| public int | hashCode()
Implements abstract tools. Returns a hash code value for this object. |
| public boolean | |
| public void | setValue(Object pojo, Object value)
Implements abstract tools. Optional method that can be used to assign value of this member on given object, if this is a supported operation for member type. |
| public String | toString()
Implements abstract tools. Returns a string representation of the object. |
| public AnnotatedField | withAnnotations(AnnotationMap ann)
Implements abstract tools. Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones. |
| _field | back to summary |
|---|---|
| protected final Field _field Actual | |
| AnnotatedField | back to summary |
|---|---|
| public AnnotatedField(TypeResolutionContext contextClass, Field field, AnnotationMap annMap) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Implements abstract tools. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAnnotated | back to summary |
|---|---|
| public Field getAnnotated() Implements abstract tools. Doc from tools. Method that can be used to find actual JDK element that this instance represents. It is non-null, except for method/constructor parameters which do not have a JDK counterpart.
| |
| getAnnotationCount | back to summary |
|---|---|
| public int getAnnotationCount() | |
| getDeclaringClass | back to summary |
|---|---|
| public Class Implements abstract tools. Doc from tools. Actual physical class in which this member was declared.
| |
| getMember | back to summary |
|---|---|
| public Member getMember() Implements abstract tools.
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract tools.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract tools.
| |
| getRawType | back to summary |
|---|---|
| public Class Implements abstract tools. Doc from tools. "Raw" type (type-erased class) of the annotated element; definition of what exactly this means depends on sub-class.
| |
| getType | back to summary |
|---|---|
| public JavaType getType() Implements abstract tools. Doc from tools. Full generic type of the annotated element; definition of what exactly this means depends on sub-class.
| |
| getValue | back to summary |
|---|---|
| public Object getValue(Object pojo) throws IllegalArgumentException Implements abstract tools. Doc from tools. Optional method that can be used to access the value of this member on given object, if this is a supported operation for member type. This is implemented for fields and no-argument member methods; but not for constructor parameters or other types of methods (like static methods)
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Implements abstract tools. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isTransient | back to summary |
|---|---|
public boolean isTransient()
| |
| setValue | back to summary |
|---|---|
| public void setValue(Object pojo, Object value) throws IllegalArgumentException Implements abstract tools. Doc from tools. Optional method that can be used to assign value of this member on given object, if this is a supported operation for member type. This is implemented for fields and single-argument member methods; but not for constructor parameters or other types of methods (like static methods)
| |
| toString | back to summary |
|---|---|
| public String toString() Implements abstract tools. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| withAnnotations | back to summary |
|---|---|
| public AnnotatedField withAnnotations(AnnotationMap ann) Implements abstract tools. Doc from tools. Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones.
| |