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, versionpublic 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.Exceptionprotected 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 ClassDataCollectorjava.lang.Exceptionpublic void memberEnd()
memberEnd in class ClassDataCollectorpublic void annotation(Annotation annotation)
annotation in class ClassDataCollectorprotected 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.Exceptionprotected void doComponent(org.osgi.service.component.annotations.Component comp,
Annotation annotation)
throws java.lang.Exception
annotation - java.lang.Exceptionpublic void classBegin(int access,
Descriptors.TypeRef name)
classBegin in class ClassDataCollectorpublic void implementsInterfaces(Descriptors.TypeRef[] interfaces)
implementsInterfaces in class ClassDataCollectorpublic void method(Clazz.MethodDef method)
method in class ClassDataCollectorpublic void field(Clazz.FieldDef field)
field in class ClassDataCollectorpublic void extendsClass(Descriptors.TypeRef name)
extendsClass in class ClassDataCollector