AnnotatedMember.
| Modifier and Type | Field and Description |
|---|---|
| protected final Class | |
| protected final String | |
| protected final JavaType | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | VirtualAnnotatedMember(TypeResolutionContext typeContext, Class<?> declaringClass, String name, JavaType type)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Implements abstract com. |
| public Field | getAnnotated()
Implements abstract com. |
| public int | |
| public Class | getDeclaringClass()
Implements abstract com. |
| public Member | |
| public int | |
| public String | |
| public Class | getRawType()
Implements abstract com. |
| public JavaType | getType()
Implements abstract com. |
| public Object | getValue(Object pojo)
Implements abstract com. |
| public int | hashCode()
Implements abstract com. |
| public void | setValue(Object pojo, Object value)
Implements abstract com. |
| public String | toString()
Implements abstract com. |
| public Annotated | withAnnotations(AnnotationMap fallback)
Implements abstract com. |
| _declaringClass | back to summary |
|---|---|
| protected final Class<?> _declaringClass | |
| _name | back to summary |
|---|---|
| protected final String _name | |
| _type | back to summary |
|---|---|
protected final JavaType _type
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| VirtualAnnotatedMember | back to summary |
|---|---|
| public VirtualAnnotatedMember(TypeResolutionContext typeContext, Class<?> declaringClass, String name, JavaType type) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Implements abstract com. 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 com. Doc from com. 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 com. Doc from com. Actual physical class in which this member was declared.
| |
| getMember | back to summary |
|---|---|
| public Member getMember() Implements abstract com.
| |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements abstract com.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements abstract com.
| |
| getRawType | back to summary |
|---|---|
| public Class Implements abstract com. Doc from com. "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 com. Doc from com. 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 com. Doc from com. 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 com. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| setValue | back to summary |
|---|---|
| public void setValue(Object pojo, Object value) throws IllegalArgumentException Implements abstract com. Doc from com. 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 com. Doc from java. Returns a string representation of the object. | |
| withAnnotations | back to summary |
|---|---|
| public Annotated withAnnotations(AnnotationMap fallback) Implements abstract com. Doc from com. Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones.
| |