static class AnnotationCollector.NCollector extends AnnotationCollector
AnnotationCollector.EmptyCollector, AnnotationCollector.NCollector, AnnotationCollector.NoAnnotations, AnnotationCollector.OneAnnotation, AnnotationCollector.OneCollector, AnnotationCollector.TwoAnnotations| Modifier and Type | Field and Description |
|---|---|
protected java.util.HashMap<java.lang.Class<?>,java.lang.annotation.Annotation> |
_annotations |
_data, NO_ANNOTATIONS| Constructor and Description |
|---|
NCollector(java.lang.Object data,
java.lang.Class<?> type1,
java.lang.annotation.Annotation value1,
java.lang.Class<?> type2,
java.lang.annotation.Annotation value2) |
| 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, getDataprotected final java.util.HashMap<java.lang.Class<?>,java.lang.annotation.Annotation> _annotations
public NCollector(java.lang.Object data,
java.lang.Class<?> type1,
java.lang.annotation.Annotation value1,
java.lang.Class<?> type2,
java.lang.annotation.Annotation value2)
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