Package aQute.bnd.component
Class DSAnnotationReader
- java.lang.Object
-
- aQute.bnd.osgi.ClassDataCollector
-
- aQute.bnd.component.DSAnnotationReader
-
public class DSAnnotationReader extends ClassDataCollector
Processes spec DS annotations into xml.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
annotation(Annotation annotation)
void
classBegin(int access, Descriptors.TypeRef name)
Are called during class parsingvoid
extendsClass(Descriptors.TypeRef name)
void
field(Clazz.FieldDef field)
static aQute.bnd.component.ComponentDef
getDefinition(Clazz c, Analyzer analyzer, java.util.Set<DSAnnotations.Options> options, XMLAttributeFinder finder, Version minVersion)
void
implementsInterfaces(Descriptors.TypeRef[] interfaces)
void
memberEnd()
void
method(Clazz.MethodDef method)
void
parameter(int p)
java.lang.String
toString()
-
Methods inherited from class aQute.bnd.osgi.ClassDataCollector
addReference, annotationDefault, annotationDefault, classEnd, classStart, classStart, constant, deprecated, enclosingMethod, innerClass, methodParameters, referenceMethod, referTo, signature, typeuse, version
-
-
-
-
Method Detail
-
getDefinition
public static aQute.bnd.component.ComponentDef getDefinition(Clazz c, Analyzer analyzer, java.util.Set<DSAnnotations.Options> options, XMLAttributeFinder finder, Version minVersion) throws java.lang.Exception
- Throws:
java.lang.Exception
-
annotation
public void annotation(Annotation annotation)
- Overrides:
annotation
in classClassDataCollector
-
classBegin
public void classBegin(int access, Descriptors.TypeRef name)
Are called during class parsing- Overrides:
classBegin
in classClassDataCollector
-
extendsClass
public void extendsClass(Descriptors.TypeRef name)
- Overrides:
extendsClass
in classClassDataCollector
-
implementsInterfaces
public void implementsInterfaces(Descriptors.TypeRef[] interfaces)
- Overrides:
implementsInterfaces
in classClassDataCollector
-
field
public void field(Clazz.FieldDef field)
- Overrides:
field
in classClassDataCollector
-
method
public void method(Clazz.MethodDef method)
- Overrides:
method
in classClassDataCollector
-
memberEnd
public void memberEnd()
- Overrides:
memberEnd
in classClassDataCollector
-
parameter
public void parameter(int p)
- Overrides:
parameter
in classClassDataCollector
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-