Class AnnotationCollector
java.lang.Object
tools.jackson.databind.introspect.AnnotationCollector
- Direct Known Subclasses:
AnnotationCollector.EmptyCollector, AnnotationCollector.NCollector, AnnotationCollector.OneCollector
Helper class used to collect annotations to be stored as
Annotations (like AnnotationMap).-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) static classstatic classImmutable implementation for case where no annotations are associated with an annotatable entity.static class(package private) static classstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ObjectOptional data to carry alongprotected static final Annotations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract AnnotationCollectoraddOrOverride(Annotation ann) abstract AnnotationMapabstract Annotationsstatic Annotationsstatic AnnotationCollectorstatic AnnotationCollectoremptyCollector(Object data) getData()abstract booleanisPresent(Annotation ann)
-
Field Details
-
NO_ANNOTATIONS
-
_data
Optional data to carry along
-
-
Constructor Details
-
AnnotationCollector
-
-
Method Details
-
emptyAnnotations
-
emptyCollector
-
emptyCollector
-
asAnnotations
-
asAnnotationMap
-
getData
-
isPresent
-
addOrOverride
-