static class AnnotationCollector.OneCollector extends AnnotationCollector
AnnotationCollector.EmptyCollector, AnnotationCollector.NCollector, AnnotationCollector.NoAnnotations, AnnotationCollector.OneAnnotation, AnnotationCollector.OneCollector, AnnotationCollector.TwoAnnotations| Modifier and Type | Field and Description |
|---|---|
private java.lang.Class<?> |
_type |
private java.lang.annotation.Annotation |
_value |
_data, NO_ANNOTATIONS| Constructor and Description |
|---|
OneCollector(java.lang.Object data,
java.lang.Class<?> type,
java.lang.annotation.Annotation value) |
| Modifier and Type | Method and Description |
|---|---|
AnnotationCollector |
addOrOverride(java.lang.annotation.Annotation ann) |
AnnotationMap |
asAnnotationMap() |
Annotations |
asAnnotations() |
boolean |
isPresent(java.lang.annotation.Annotation ann) |
emptyAnnotations, emptyCollector, emptyCollector, getDataprivate java.lang.Class<?> _type
private java.lang.annotation.Annotation _value
public OneCollector(java.lang.Object data,
java.lang.Class<?> type,
java.lang.annotation.Annotation value)
public Annotations asAnnotations()
asAnnotations in class AnnotationCollectorpublic AnnotationMap asAnnotationMap()
asAnnotationMap in class AnnotationCollectorpublic boolean isPresent(java.lang.annotation.Annotation ann)
isPresent in class AnnotationCollectorpublic AnnotationCollector addOrOverride(java.lang.annotation.Annotation ann)
addOrOverride in class AnnotationCollector