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 |
static Version |
V1_4 |
| 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(Component comp,
Annotation annotation) |
protected void |
doDeactivate() |
protected void |
doDesignate(Designate a) |
protected void |
doModified() |
protected void |
doReference(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<DSAnnotations.Options> options,
XMLAttributeFinder finder,
Version minVersion) |
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, 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 Version V1_4
public static aQute.bnd.component.ComponentDef getDefinition(Clazz c, Analyzer analyzer, java.util.EnumSet<DSAnnotations.Options> options, XMLAttributeFinder finder, Version minVersion) 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(Designate a)
protected void doActivate()
protected void doDeactivate()
protected void doModified()
protected void doReference(Reference reference, Annotation raw) throws java.lang.Exception
reference - @Reference proxy backed by raw.raw - @Reference contentsjava.lang.Exceptionprotected void doComponent(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 ClassDataCollectorCopyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.