public class AnnotationReader extends ClassDataCollector
Modifier and Type | Field and Description |
---|---|
static Version |
V1_1 |
static Version |
V1_2 |
Modifier and Type | Method and Description |
---|---|
void |
annotation(Annotation annotation) |
void |
classBegin(int access,
String name)
Are called during class parsing
|
protected void |
doActivate() |
protected void |
doComponent(Component comp,
Annotation annotation) |
protected void |
doDeactivate() |
protected void |
doModified() |
protected void |
doReference(Reference reference,
Annotation raw) |
void |
extendsClass(String name) |
static aQute.bnd.component.ComponentDef |
getDefinition(Clazz c,
Analyzer analyzer) |
void |
implementsInterfaces(String[] interfaces) |
void |
method(int access,
String name,
String descriptor) |
protected String |
referredMethod(Analyzer analyzer,
aQute.bnd.component.ReferenceDef rdef,
String value,
String... matches) |
addReference, classEnd, classStart, constant, constructor, enclosingMethod, field, field, innerClass, method, parameter, reference, reference, signature
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 doDeactivate()
protected void doModified()
protected void doReference(Reference reference, Annotation raw) throws Exception
annotation
- Exception
protected void doActivate()
protected void doComponent(Component comp, Annotation annotation) throws Exception
annotation
- Exception
public void classBegin(int access, String name)
classBegin
in class ClassDataCollector
public void implementsInterfaces(String[] interfaces)
implementsInterfaces
in class ClassDataCollector
public void method(int access, String name, String descriptor)
method
in class ClassDataCollector
public void extendsClass(String name)
extendsClass
in class ClassDataCollector
Copyright © 2013 aQute SARL. All rights reserved.