Package aQute.bnd.osgi
Class AnnotationHeaders.MetaAnnotationCollector
- java.lang.Object
-
- aQute.bnd.osgi.ClassDataCollector
-
- aQute.bnd.osgi.AnnotationHeaders.MetaAnnotationCollector
-
- Enclosing class:
- AnnotationHeaders
private final class AnnotationHeaders.MetaAnnotationCollector extends ClassDataCollector
-
-
Field Summary
Fields Modifier and Type Field Description private Annotation
annotation
private Attrs
attributesAndDirectives
private Clazz
c
private Clazz.MethodDef
lastMethodSeen
private java.util.Set<java.lang.String>
processed
-
Constructor Summary
Constructors Modifier Constructor Description private
MetaAnnotationCollector(Clazz c, Annotation annotation, java.util.Set<java.lang.String> processed, Attrs baseAttrs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
annotation(Annotation a)
private java.lang.Object
getOrDefault(Clazz.MethodDef method)
private void
handleAttributeOrDirective(Annotation a)
private void
mergeAttributesAndDirectives(Annotation a)
void
method(Clazz.MethodDef defined)
-
Methods inherited from class aQute.bnd.osgi.ClassDataCollector
addReference, annotationDefault, annotationDefault, classBegin, classEnd, classStart, classStart, constant, deprecated, enclosingMethod, extendsClass, field, implementsInterfaces, innerClass, memberEnd, methodParameters, parameter, referenceMethod, referTo, signature, typeuse, version
-
-
-
-
Field Detail
-
c
private final Clazz c
-
annotation
private final Annotation annotation
-
lastMethodSeen
private Clazz.MethodDef lastMethodSeen
-
processed
private java.util.Set<java.lang.String> processed
-
attributesAndDirectives
private Attrs attributesAndDirectives
-
-
Constructor Detail
-
MetaAnnotationCollector
private MetaAnnotationCollector(Clazz c, Annotation annotation, java.util.Set<java.lang.String> processed, Attrs baseAttrs)
-
-
Method Detail
-
annotation
public void annotation(Annotation a) throws java.lang.Exception
- Overrides:
annotation
in classClassDataCollector
- Throws:
java.lang.Exception
-
mergeAttributesAndDirectives
private void mergeAttributesAndDirectives(Annotation a)
-
handleAttributeOrDirective
private void handleAttributeOrDirective(Annotation a)
-
method
public void method(Clazz.MethodDef defined)
- Overrides:
method
in classClassDataCollector
-
getOrDefault
private java.lang.Object getOrDefault(Clazz.MethodDef method)
-
-