public static class AnnotationCollector.TwoAnnotations extends java.lang.Object implements Annotations, java.io.Serializable
Constructor and Description |
---|
TwoAnnotations(java.lang.Class<?> type1,
java.lang.annotation.Annotation value1,
java.lang.Class<?> type2,
java.lang.annotation.Annotation value2) |
Modifier and Type | Method and Description |
---|---|
<A extends java.lang.annotation.Annotation> |
get(java.lang.Class<A> cls)
Main access method used to find value for given annotation.
|
boolean |
has(java.lang.Class<?> cls) |
boolean |
hasOneOf(java.lang.Class<? extends java.lang.annotation.Annotation>[] annoClasses) |
int |
size()
Returns number of annotation entries in this collection.
|
public TwoAnnotations(java.lang.Class<?> type1, java.lang.annotation.Annotation value1, java.lang.Class<?> type2, java.lang.annotation.Annotation value2)
public <A extends java.lang.annotation.Annotation> A get(java.lang.Class<A> cls)
Annotations
get
in interface Annotations
public boolean has(java.lang.Class<?> cls)
has
in interface Annotations
public boolean hasOneOf(java.lang.Class<? extends java.lang.annotation.Annotation>[] annoClasses)
hasOneOf
in interface Annotations
public int size()
Annotations
size
in interface Annotations
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"