public class AnnotationReader extends ClassDataCollector
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FELIX_1_2 |
static Version |
V1_0 |
static Version |
V1_1 |
static Version |
V1_2 |
static Version |
V1_3 |
Modifier and Type | Method and Description |
---|---|
void |
annotation(Annotation annotation) |
void |
classBegin(int access,
Descriptors.TypeRef name)
Are called during class parsing
|
void |
classEnd() |
protected void |
doActivate() |
protected void |
doComponent(org.osgi.service.component.annotations.Component comp,
Annotation annotation) |
protected void |
doDeactivate() |
protected void |
doDesignate(org.osgi.service.metatype.annotations.Designate a) |
protected void |
doModified() |
protected void |
doReference(org.osgi.service.component.annotations.Reference reference,
Annotation raw) |
void |
extendsClass(Descriptors.TypeRef name) |
void |
field(Clazz.FieldDef field) |
static aQute.bnd.component.ComponentDef |
getDefinition(Clazz c,
Analyzer analyzer,
java.util.EnumSet<aQute.bnd.component.DSAnnotations.Options> options,
XMLAttributeFinder finder) |
void |
implementsInterfaces(Descriptors.TypeRef[] interfaces) |
void |
memberEnd() |
void |
method(Clazz.MethodDef method) |
protected java.lang.String |
referredMethod(Analyzer analyzer,
aQute.bnd.component.ReferenceDef rdef,
java.lang.String value,
java.lang.String... matches) |
addReference, annotationDefault, classStart, classStart, constant, deprecated, enclosingMethod, innerClass, parameter, referenceMethod, referTo, signature, version
public static final Version V1_0
public static final Version V1_1
public static final Version V1_2
public static final Version V1_3
public static final java.lang.String FELIX_1_2
public static aQute.bnd.component.ComponentDef getDefinition(Clazz c, Analyzer analyzer, java.util.EnumSet<aQute.bnd.component.DSAnnotations.Options> options, XMLAttributeFinder finder) throws java.lang.Exception
java.lang.Exception
protected java.lang.String referredMethod(Analyzer analyzer, aQute.bnd.component.ReferenceDef rdef, java.lang.String value, java.lang.String... matches)
analyzer
- rdef
- public void classEnd() throws java.lang.Exception
classEnd
in class ClassDataCollector
java.lang.Exception
public void memberEnd()
memberEnd
in class ClassDataCollector
public void annotation(Annotation annotation)
annotation
in class ClassDataCollector
protected void doDesignate(org.osgi.service.metatype.annotations.Designate a)
protected void doActivate()
protected void doDeactivate()
protected void doModified()
protected void doReference(org.osgi.service.component.annotations.Reference reference, Annotation raw) throws java.lang.Exception
reference
- raw
- java.lang.Exception
protected void doComponent(org.osgi.service.component.annotations.Component comp, Annotation annotation) throws java.lang.Exception
annotation
- java.lang.Exception
public void classBegin(int access, Descriptors.TypeRef name)
classBegin
in class ClassDataCollector
public void implementsInterfaces(Descriptors.TypeRef[] interfaces)
implementsInterfaces
in class ClassDataCollector
public void method(Clazz.MethodDef method)
method
in class ClassDataCollector
public void field(Clazz.FieldDef field)
field
in class ClassDataCollector
public void extendsClass(Descriptors.TypeRef name)
extendsClass
in class ClassDataCollector