com.fasterxml.jackson.databind.util.Annotations (like AnnotationMap).
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| public static class | AnnotationCollector.
Immutable implementation for case where no annotations are associated with an annotatable entity. |
| public static class | |
| pack-priv static class | |
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| protected final Object | _data
Optional data to carry along |
| protected static final Annotations |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract AnnotationCollector | |
| public abstract AnnotationMap | |
| public abstract Annotations | |
| public static Annotations | |
| public static AnnotationCollector | |
| public static AnnotationCollector | |
| public Object | |
| public abstract boolean |
| _data | back to summary |
|---|---|
| protected final Object _data Optional data to carry along | |
| NO_ANNOTATIONS | back to summary |
|---|---|
| protected static final Annotations NO_ANNOTATIONS | |
| AnnotationCollector | back to summary |
|---|---|
| protected AnnotationCollector(Object d) | |
| addOrOverride | back to summary |
|---|---|
| public abstract AnnotationCollector addOrOverride(Annotation ann) | |
| asAnnotationMap | back to summary |
|---|---|
| public abstract AnnotationMap asAnnotationMap() | |
| asAnnotations | back to summary |
|---|---|
| public abstract Annotations asAnnotations() | |
| emptyAnnotations | back to summary |
|---|---|
| public static Annotations emptyAnnotations() | |
| emptyCollector | back to summary |
|---|---|
| public static AnnotationCollector emptyCollector() | |
| emptyCollector | back to summary |
|---|---|
| public static AnnotationCollector emptyCollector(Object data) | |
| getData | back to summary |
|---|---|
| public Object getData() | |
| isPresent | back to summary |
|---|---|
| public abstract boolean isPresent(Annotation ann) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final AnnotationCollector. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationCollector | addOrOverride(Annotation ann)
Implements abstract com.
|
| public AnnotationMap | asAnnotationMap()
Implements abstract com.
|
| public Annotations | asAnnotations()
Implements abstract com.
|
| public boolean | isPresent(Annotation ann)
Implements abstract com.
|
| instance | back to summary |
|---|---|
| public static final AnnotationCollector. | |
| EmptyCollector | back to summary |
|---|---|
| pack-priv EmptyCollector(Object data) | |
| addOrOverride | back to summary |
|---|---|
| public AnnotationCollector addOrOverride(Annotation ann) Implements abstract com.
| |
| asAnnotationMap | back to summary |
|---|---|
| public AnnotationMap asAnnotationMap() Implements abstract com.
| |
| asAnnotations | back to summary |
|---|---|
| public Annotations asAnnotations() Implements abstract com.
| |
| isPresent | back to summary |
|---|---|
| public boolean isPresent(Annotation ann) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| protected final HashMap |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationCollector | addOrOverride(Annotation ann)
Implements abstract com.
|
| public AnnotationMap | asAnnotationMap()
Implements abstract com.
|
| public Annotations | asAnnotations()
Implements abstract com.
|
| public boolean | isPresent(Annotation ann)
Implements abstract com.
|
| _annotations | back to summary |
|---|---|
| protected final HashMap<Class<?>, Annotation> _annotations | |
| NCollector | back to summary |
|---|---|
| public NCollector(Object data, Class<?> type1, Annotation value1, Class<?> type2, Annotation value2) | |
| addOrOverride | back to summary |
|---|---|
| public AnnotationCollector addOrOverride(Annotation ann) Implements abstract com.
| |
| asAnnotationMap | back to summary |
|---|---|
| public AnnotationMap asAnnotationMap() Implements abstract com.
| |
| asAnnotations | back to summary |
|---|---|
| public Annotations asAnnotations() Implements abstract com.
| |
| isPresent | back to summary |
|---|---|
| public boolean isPresent(Annotation ann) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public <A extends Annotation> A | get(Class<A> cls)
Implements com. Main access method used to find value for given annotation. |
| public boolean | |
| public boolean | hasOneOf(Class<? extends Annotation>[] annoClasses)
Implements com.
|
| public int | size()
Implements com. Returns number of annotation entries in this collection. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NoAnnotations | back to summary |
|---|---|
| pack-priv NoAnnotations() | |
| get | back to summary |
|---|---|
| public <A extends Annotation> A get(Class<A> cls) Implements com. Doc from com. Main access method used to find value for given annotation.
| |
| has | back to summary |
|---|---|
| public boolean has(Class<?> cls) Implements com.
| |
| hasOneOf | back to summary |
|---|---|
| public boolean hasOneOf(Class<? extends Annotation>[] annoClasses) Implements com.
| |
| size | back to summary |
|---|---|
| public int size() Implements com. Doc from com. Returns number of annotation entries in this collection.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Annotation | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <A extends Annotation> A | get(Class<A> cls)
Implements com. Main access method used to find value for given annotation. |
| public boolean | |
| public boolean | hasOneOf(Class<? extends Annotation>[] annoClasses)
Implements com.
|
| public int | size()
Implements com. Returns number of annotation entries in this collection. |
| _type | back to summary |
|---|---|
| private final Class<?> _type | |
| _value | back to summary |
|---|---|
| private final Annotation _value | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| OneAnnotation | back to summary |
|---|---|
| public OneAnnotation(Class<?> type, Annotation value) | |
| get | back to summary |
|---|---|
| public <A extends Annotation> A get(Class<A> cls) Implements com. Doc from com. Main access method used to find value for given annotation.
| |
| has | back to summary |
|---|---|
| public boolean has(Class<?> cls) Implements com.
| |
| hasOneOf | back to summary |
|---|---|
| public boolean hasOneOf(Class<? extends Annotation>[] annoClasses) Implements com.
| |
| size | back to summary |
|---|---|
| public int size() Implements com. Doc from com. Returns number of annotation entries in this collection.
| |
| Modifier and Type | Field and Description |
|---|---|
| private Class | |
| private Annotation |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public AnnotationCollector | addOrOverride(Annotation ann)
Implements abstract com.
|
| public AnnotationMap | asAnnotationMap()
Implements abstract com.
|
| public Annotations | asAnnotations()
Implements abstract com.
|
| public boolean | isPresent(Annotation ann)
Implements abstract com.
|
| _type | back to summary |
|---|---|
| private Class<?> _type | |
| _value | back to summary |
|---|---|
| private Annotation _value | |
| OneCollector | back to summary |
|---|---|
| public OneCollector(Object data, Class<?> type, Annotation value) | |
| addOrOverride | back to summary |
|---|---|
| public AnnotationCollector addOrOverride(Annotation ann) Implements abstract com.
| |
| asAnnotationMap | back to summary |
|---|---|
| public AnnotationMap asAnnotationMap() Implements abstract com.
| |
| asAnnotations | back to summary |
|---|---|
| public Annotations asAnnotations() Implements abstract com.
| |
| isPresent | back to summary |
|---|---|
| public boolean isPresent(Annotation ann) Implements abstract com.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Class | |
| private final Annotation | |
| private final Annotation | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public <A extends Annotation> A | get(Class<A> cls)
Implements com. Main access method used to find value for given annotation. |
| public boolean | |
| public boolean | hasOneOf(Class<? extends Annotation>[] annoClasses)
Implements com.
|
| public int | size()
Implements com. Returns number of annotation entries in this collection. |
| _type1 | back to summary |
|---|---|
| private final Class<?> _type1 | |
| _type2 | back to summary |
|---|---|
| private final Class<?> _type2 | |
| _value1 | back to summary |
|---|---|
| private final Annotation _value1 | |
| _value2 | back to summary |
|---|---|
| private final Annotation _value2 | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TwoAnnotations | back to summary |
|---|---|
| public TwoAnnotations(Class<?> type1, Annotation value1, Class<?> type2, Annotation value2) | |
| get | back to summary |
|---|---|
| public <A extends Annotation> A get(Class<A> cls) Implements com. Doc from com. Main access method used to find value for given annotation.
| |
| has | back to summary |
|---|---|
| public boolean has(Class<?> cls) Implements com.
| |
| hasOneOf | back to summary |
|---|---|
| public boolean hasOneOf(Class<? extends Annotation>[] annoClasses) Implements com.
| |
| size | back to summary |
|---|---|
| public int size() Implements com. Doc from com. Returns number of annotation entries in this collection.
| |