| Modifier and Type | Field and Description |
|---|---|
| protected final transient AnnotationMap | |
| protected final transient TypeResolutionContext | _typeContext
Context object needed for resolving generic type associated with this member (method parameter or return value, or field type). |
| private static final long |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Iterable | annotations()
Implements abstract com.
Deprecated
Accessor that can be used to iterate over all the annotations associated with annotated component. |
| public final void | fixAccess(boolean force)
Method that can be called to modify access rights, by calling
|
| public AnnotationMap | |
| public final <A extends Annotation> A | getAnnotation(Class<A> acls)
Implements abstract com.
|
| public abstract Class | |
| public String | |
| public abstract Member | |
| public TypeResolutionContext | getTypeContext()
Deprecated
Since 2.9
Accessor for |
| public abstract Object | |
| public final boolean | hasAnnotation(Class<?> acls)
Implements abstract com.
|
| public boolean | hasOneOf(Class<? extends Annotation>[] annoClasses)
Implements abstract com.
|
| public abstract void | |
| public abstract Annotated | withAnnotations(AnnotationMap fallback)
Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones. |
| _annotations | back to summary |
|---|---|
| protected final transient AnnotationMap _annotations | |
| _typeContext | back to summary |
|---|---|
| protected final transient TypeResolutionContext _typeContext Context object needed for resolving generic type associated with this member (method parameter or return value, or field type).
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| AnnotatedMember | back to summary |
|---|---|
| protected AnnotatedMember(TypeResolutionContext ctxt, AnnotationMap annotations) | |
| AnnotatedMember | back to summary |
|---|---|
| protected AnnotatedMember(AnnotatedMember base) Copy-constructor.
| |
| annotations | back to summary |
|---|---|
| public Iterable Implements abstract com. Doc from com. Deprecated
Accessor that can be used to iterate over all the annotations associated with annotated component.
| |
| fixAccess | back to summary |
|---|---|
| public final void fixAccess(boolean force) Method that can be called to modify access rights, by calling
Note that caller should verify that
| |
| getAllAnnotations | back to summary |
|---|---|
| public AnnotationMap getAllAnnotations() Note promoted in 2.9 from `Annotated` up | |
| getAnnotation | back to summary |
|---|---|
| public final <A extends Annotation> A getAnnotation(Class<A> acls) Implements abstract com.
| |
| getDeclaringClass | back to summary |
|---|---|
| public abstract Class Actual physical class in which this member was declared. | |
| getFullName | back to summary |
|---|---|
| public String getFullName() | |
| getMember | back to summary |
|---|---|
| public abstract Member getMember() | |
| getTypeContext | back to summary |
|---|---|
| public TypeResolutionContext getTypeContext()
Deprecated Since 2.9 Accessor for
| |
| getValue | back to summary |
|---|---|
| public abstract Object getValue(Object pojo) throws UnsupportedOperationException, IllegalArgumentException 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) | |
| hasAnnotation | back to summary |
|---|---|
| public final boolean hasAnnotation(Class<?> acls) Implements abstract com.
| |
| hasOneOf | back to summary |
|---|---|
| public boolean hasOneOf(Class<? extends Annotation>[] annoClasses) Implements abstract com.
| |
| setValue | back to summary |
|---|---|
| public abstract void setValue(Object pojo, Object value) throws UnsupportedOperationException, IllegalArgumentException 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) | |
| withAnnotations | back to summary |
|---|---|
| public abstract Annotated withAnnotations(AnnotationMap fallback) Fluent factory method that will construct a new instance that uses specified instance annotations instead of currently configured ones.
| |