public static class AnnotationCollector.TwoAnnotations extends Object implements Annotations, Serializable
| Constructor and Description | 
|---|
TwoAnnotations(Class<?> type1,
              Annotation value1,
              Class<?> type2,
              Annotation value2)  | 
| 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 TwoAnnotations(Class<?> type1, Annotation value1, Class<?> type2, Annotation value2)
public <A extends Annotation> A get(Class<A> cls)
Annotationsget in interface Annotationspublic boolean has(Class<?> cls)
has in interface Annotationspublic boolean hasOneOf(Class<? extends Annotation>[] annoClasses)
hasOneOf in interface Annotationspublic int size()
Annotationssize in interface AnnotationsCopyright © 2008–2018 FasterXML. All rights reserved.