Class AnnotationCollector.NCollector
- java.lang.Object
-
- com.fasterxml.jackson.databind.introspect.AnnotationCollector
-
- com.fasterxml.jackson.databind.introspect.AnnotationCollector.NCollector
-
- Enclosing class:
- AnnotationCollector
static class AnnotationCollector.NCollector 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 protected java.util.HashMap<java.lang.Class<?>,java.lang.annotation.Annotation>
_annotations
-
Fields inherited from class com.fasterxml.jackson.databind.introspect.AnnotationCollector
_data, NO_ANNOTATIONS
-
-
Constructor Summary
Constructors Constructor Description NCollector(java.lang.Object data, java.lang.Class<?> type1, java.lang.annotation.Annotation value1, java.lang.Class<?> type2, java.lang.annotation.Annotation value2)
-
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
-
-