Class AnnotationCollector.OneAnnotation
java.lang.Object
com.fasterxml.jackson.databind.introspect.AnnotationCollector.OneAnnotation
- All Implemented Interfaces:
Annotations,Serializable
- 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.booleanbooleanhasOneOf(Class<? extends Annotation>[] annoClasses) intsize()Returns number of annotation entries in this collection.
-
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
-
size
public int size()Description copied from interface:AnnotationsReturns number of annotation entries in this collection.- Specified by:
sizein interfaceAnnotations
-