Module tools.jackson.databind
Class AnnotationCollector.OneAnnotation
java.lang.Object
tools.jackson.databind.introspect.AnnotationCollector.OneAnnotation
- All Implemented Interfaces:
Serializable,Annotations
- Enclosing class:
- AnnotationCollector
public static class AnnotationCollector.OneAnnotation
extends Object
implements Annotations, Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
AMain access method used to find value for given annotation.booleanhas(Class<? extends Annotation> cls) booleanhasOneOf(Class<? extends Annotation>[] annoClasses) intsize()Returns number of annotation entries in this collection.values()Access method that returns a stream of all annotations contained.
-
Constructor Details
-
OneAnnotation
-
-
Method Details
-
get
Description copied from interface:AnnotationsMain access method used to find value for given annotation.- Specified by:
getin interfaceAnnotations
-
has
- Specified by:
hasin interfaceAnnotations
-
hasOneOf
- Specified by:
hasOneOfin interfaceAnnotations
-
values
Description copied from interface:AnnotationsAccess method that returns a stream of all annotations contained.- Specified by:
valuesin interfaceAnnotations
-
size
public int size()Description copied from interface:AnnotationsReturns number of annotation entries in this collection.- Specified by:
sizein interfaceAnnotations
-