Class AnnotationCollector.OneCollector
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.AnnotationCollector
-
- com.fasterxml.jackson.databind.introspect.AnnotationCollector.OneCollector
-
- Enclosing class:
- AnnotationCollector
static class AnnotationCollector.OneCollector extends AnnotationCollector
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.introspect.AnnotationCollector
AnnotationCollector.EmptyCollector, AnnotationCollector.NCollector, AnnotationCollector.NoAnnotations, AnnotationCollector.OneAnnotation, AnnotationCollector.OneCollector, AnnotationCollector.TwoAnnotations
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Class<?>
_type
private java.lang.annotation.Annotation
_value
-
Fields inherited from class com.fasterxml.jackson.databind.introspect.AnnotationCollector
_data, NO_ANNOTATIONS
-
-
Constructor Summary
Constructors Constructor Description OneCollector(java.lang.Object data, java.lang.Class<?> type, java.lang.annotation.Annotation value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationCollector
addOrOverride(java.lang.annotation.Annotation ann)
AnnotationMap
asAnnotationMap()
Annotations
asAnnotations()
boolean
isPresent(java.lang.annotation.Annotation ann)
-
Methods inherited from class com.fasterxml.jackson.databind.introspect.AnnotationCollector
emptyAnnotations, emptyCollector, emptyCollector, getData
-
-
-
-
Method Detail
-
asAnnotations
public Annotations asAnnotations()
- Specified by:
asAnnotations
in classAnnotationCollector
-
asAnnotationMap
public AnnotationMap asAnnotationMap()
- Specified by:
asAnnotationMap
in classAnnotationCollector
-
isPresent
public boolean isPresent(java.lang.annotation.Annotation ann)
- Specified by:
isPresent
in classAnnotationCollector
-
addOrOverride
public AnnotationCollector addOrOverride(java.lang.annotation.Annotation ann)
- Specified by:
addOrOverride
in classAnnotationCollector
-
-