public class AnnotationReader extends ClassDataCollector
Modifier and Type | Field and Description |
---|---|
static 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
|
protected void |
doActivate() |
protected void |
doComponent(org.osgi.service.component.annotations.Component comp,
Annotation annotation) |
protected void |
doDeactivate() |
protected void |
doModified() |
protected void |
doReference(org.osgi.service.component.annotations.Reference reference,
Annotation raw) |
void |
extendsClass(Descriptors.TypeRef name) |
static aQute.bnd.component.ComponentDef |
getDefinition(Clazz c,
Analyzer analyzer) |
void |
implementsInterfaces(Descriptors.TypeRef[] interfaces) |
void |
method(Clazz.MethodDef method) |
protected String |
referredMethod(Analyzer analyzer,
aQute.bnd.component.ReferenceDef rdef,
String value,
String... matches) |
addReference, annotationDefault, classEnd, classStart, classStart, constant, deprecated, enclosingMethod, field, innerClass, memberEnd, 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 String FELIX_1_2
public static aQute.bnd.component.ComponentDef getDefinition(Clazz c, Analyzer analyzer) throws Exception
Exception
protected String referredMethod(Analyzer analyzer, aQute.bnd.component.ReferenceDef rdef, String value, String... matches)
analyzer
- rdef
- public void annotation(Annotation annotation)
annotation
in class ClassDataCollector
protected void doActivate()
protected void doDeactivate()
protected void doModified()
protected void doReference(org.osgi.service.component.annotations.Reference reference, Annotation raw) throws Exception
annotation
- Exception
protected void doComponent(org.osgi.service.component.annotations.Component comp, Annotation annotation) throws Exception
annotation
- 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 extendsClass(Descriptors.TypeRef name)
extendsClass
in class ClassDataCollector
Copyright © 2015 aQute SARL. All rights reserved.