public static class AnnotationCollector.NoAnnotations extends Object implements Annotations, Serializable
Modifier and Type | Method and Description |
---|---|
<A extends Annotation> |
get(Class<A> cls)
Main access method used to find value for given annotation.
|
boolean |
has(Class<?> cls) |
boolean |
hasOneOf(Class<? extends Annotation>[] annoClasses) |
int |
size()
Returns number of annotation entries in this collection.
|
public <A extends Annotation> A get(Class<A> cls)
Annotations
get
in interface Annotations
public boolean has(Class<?> cls)
has
in interface Annotations
public boolean hasOneOf(Class<? extends Annotation>[] annoClasses)
hasOneOf
in interface Annotations
public int size()
Annotations
size
in interface Annotations
Copyright © 2008–2022 FasterXML. All rights reserved.