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 Annotationannotationprivate AttrsattributesAndDirectivesprivate Clazzcprivate Clazz.MethodDeflastMethodSeenprivate java.util.Set<java.lang.String>processed
-
Constructor Summary
Constructors Modifier Constructor Description privateMetaAnnotationCollector(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 voidannotation(Annotation a)private java.lang.ObjectgetOrDefault(Clazz.MethodDef method)private voidhandleAttributeOrDirective(Annotation a)private voidmergeAttributesAndDirectives(Annotation a)voidmethod(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:
annotationin 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:
methodin classClassDataCollector
-
getOrDefault
private java.lang.Object getOrDefault(Clazz.MethodDef method)
-
-