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, getData
private 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 AnnotationCollector
public AnnotationMap asAnnotationMap()
asAnnotationMap
in class AnnotationCollector
public boolean isPresent(java.lang.annotation.Annotation ann)
isPresent
in class AnnotationCollector
public AnnotationCollector addOrOverride(java.lang.annotation.Annotation ann)
addOrOverride
in class AnnotationCollector