public class AnnotationReader extends ClassDataCollector
Modifier and Type | Field and Description |
---|---|
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 |
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,
EnumSet<DSAnnotations.Options> options,
XMLAttributeFinder finder) |
void |
implementsInterfaces(Descriptors.TypeRef[] interfaces) |
void |
memberEnd() |
void |
method(Clazz.MethodDef method) |
protected String |
referredMethod(Analyzer analyzer,
aQute.bnd.component.ReferenceDef rdef,
String value,
String... matches) |
addReference, annotationDefault, 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 aQute.bnd.component.ComponentDef getDefinition(Clazz c, Analyzer analyzer, EnumSet<DSAnnotations.Options> options, XMLAttributeFinder finder) throws Exception
Exception
protected String referredMethod(Analyzer analyzer, aQute.bnd.component.ReferenceDef rdef, String value, String... matches)
analyzer
- rdef
- public void classEnd() throws Exception
classEnd
in class ClassDataCollector
Exception
public void memberEnd()
memberEnd
in class ClassDataCollector
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
reference
- @Reference proxy backed by raw.raw
- @Reference contentsException
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 field(Clazz.FieldDef field)
field
in class ClassDataCollector
public void extendsClass(Descriptors.TypeRef name)
extendsClass
in class ClassDataCollector
Copyright © 2017 aQute SARL. All rights reserved.