Class AnnotationCollector.NoAnnotations
java.lang.Object
edu.internet2.middleware.grouperClientExt.com.fasterxml.jackson.databind.introspect.AnnotationCollector.NoAnnotations
- All Implemented Interfaces:
Annotations
,Serializable
- Enclosing class:
- AnnotationCollector
public static class AnnotationCollector.NoAnnotations
extends Object
implements Annotations, Serializable
Immutable implementation for case where no annotations are associated with
an annotatable entity.
- Since:
- 2.9
- See Also:
-
Method Summary
Modifier and TypeMethodDescription<A extends Annotation>
AMain access method used to find value for given annotation.boolean
boolean
hasOneOf
(Class<? extends Annotation>[] annoClasses) int
size()
Returns number of annotation entries in this collection.
-
Method Details
-
get
Description copied from interface:Annotations
Main access method used to find value for given annotation.- Specified by:
get
in interfaceAnnotations
-
has
- Specified by:
has
in interfaceAnnotations
-
hasOneOf
- Specified by:
hasOneOf
in interfaceAnnotations
-
size
public int size()Description copied from interface:Annotations
Returns number of annotation entries in this collection.- Specified by:
size
in interfaceAnnotations
-