public abstract class AnnotatedMember extends Annotated implements Serializable
| Modifier and Type | Field and Description | 
|---|---|
| protected AnnotationMap | _annotations | 
| Modifier | Constructor and Description | 
|---|---|
| protected  | AnnotatedMember(AnnotationMap annotations) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addIfNotPresent(Annotation a)Method called to augment annotations, by adding specified
 annotation if and only if it is not yet present in the
 annotation map we have. | 
| void | addOrOverride(Annotation a)Method called to override an annotation, usually due to a mix-in
 annotation masking or overriding an annotation 'real' constructor
 has. | 
| Iterable<Annotation> | annotations()Accessor that can be used to iterate over all the annotations
 associated with annotated component. | 
| void | fixAccess()Method that can be called to modify access rights, by calling
  AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)on
 the underlying annotated element. | 
| protected AnnotationMap | getAllAnnotations()Internal helper method used to access annotation information;
 not exposed to developers since instances are mutable. | 
| abstract Class<?> | getDeclaringClass() | 
| abstract Member | getMember() | 
| abstract Object | getValue(Object pojo)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. | 
| abstract void | setValue(Object pojo,
        Object value)Optional method that can be used to assign value of
 this member on given object, if this is a supported
 operation for member type. | 
getAnnotated, getAnnotation, getGenericType, getModifiers, getName, getRawType, getType, hasAnnotation, isPublic, withAnnotations, withFallBackAnnotationsFromprotected final transient AnnotationMap _annotations
protected AnnotatedMember(AnnotationMap annotations)
public abstract Class<?> getDeclaringClass()
public abstract Member getMember()
public Iterable<Annotation> annotations()
Annotatedannotations in class Annotatedprotected AnnotationMap getAllAnnotations()
AnnotatedgetAllAnnotations in class Annotatedpublic final void addOrOverride(Annotation a)
public final void addIfNotPresent(Annotation a)
public final void fixAccess()
AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean) on
 the underlying annotated element.public abstract void setValue(Object pojo, Object value) throws UnsupportedOperationException, IllegalArgumentException
This is implemented for fields and single-argument member methods; but not for constructor parameters or other types of methods (like static methods)
public abstract Object getValue(Object pojo) throws UnsupportedOperationException, IllegalArgumentException
This is implemented for fields and no-argument member methods; but not for constructor parameters or other types of methods (like static methods)
Copyright © 2014 FasterXML. All Rights Reserved.