aQute.bnd.component
Class AnnotationReader

java.lang.Object
  extended by aQute.lib.osgi.ClassDataCollector
      extended by aQute.bnd.component.AnnotationReader

public class AnnotationReader
extends ClassDataCollector


Field Summary
static Version V1_1
           
static Version V1_2
           
 
Method Summary
 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)
           
 
Methods inherited from class aQute.lib.osgi.ClassDataCollector
addReference, classEnd, classStart, constant, constructor, enclosingMethod, field, field, innerClass, method, parameter, reference, reference, signature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

V1_1

public static final Version V1_1

V1_2

public static final Version V1_2
Method Detail

getDefinition

public static aQute.bnd.component.ComponentDef getDefinition(Clazz c,
                                                             Analyzer analyzer)
                                                      throws Exception
Throws:
Exception

referredMethod

protected String referredMethod(Analyzer analyzer,
                                aQute.bnd.component.ReferenceDef rdef,
                                String value,
                                String... matches)
Parameters:
analyzer -
rdef -

annotation

public void annotation(Annotation annotation)
Overrides:
annotation in class ClassDataCollector

doDeactivate

protected void doDeactivate()

doModified

protected void doModified()

doReference

protected void doReference(Reference reference,
                           Annotation raw)
                    throws Exception
Parameters:
annotation -
Throws:
Exception

doActivate

protected void doActivate()

doComponent

protected void doComponent(Component comp,
                           Annotation annotation)
                    throws Exception
Parameters:
annotation -
Throws:
Exception

classBegin

public void classBegin(int access,
                       String name)
Are called during class parsing

Overrides:
classBegin in class ClassDataCollector

implementsInterfaces

public void implementsInterfaces(String[] interfaces)
Overrides:
implementsInterfaces in class ClassDataCollector

method

public void method(int access,
                   String name,
                   String descriptor)
Overrides:
method in class ClassDataCollector

extendsClass

public void extendsClass(String name)
Overrides:
extendsClass in class ClassDataCollector


Copyright © 2012 aQute SARL. All Rights Reserved.