aQute.bnd.make.component
Class ComponentAnnotationReader

java.lang.Object
  extended by aQute.bnd.osgi.ClassDataCollector
      extended by aQute.bnd.make.component.ComponentAnnotationReader

public class ComponentAnnotationReader
extends ClassDataCollector

This converts bnd style annotations to, roughly, the header format.


Method Summary
 void annotation(Annotation annotation)
           
 void classBegin(int access, Descriptors.TypeRef name)
           
 void finish()
           
static Map<String,String> getDefinition(Clazz c)
           
static Map<String,String> getDefinition(Clazz c, Reporter reporter)
           
 Reporter getReporter()
           
 void implementsInterfaces(Descriptors.TypeRef[] interfaces)
           
 void method(Clazz.MethodDef method)
           
 void setReporter(Reporter reporter)
           
 
Methods inherited from class aQute.bnd.osgi.ClassDataCollector
addReference, annotationDefault, classEnd, classStart, classStart, constant, deprecated, enclosingMethod, extendsClass, field, innerClass, memberEnd, parameter, referenceMethod, referTo, signature, version
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setReporter

public void setReporter(Reporter reporter)

getReporter

public Reporter getReporter()

getDefinition

public static Map<String,String> getDefinition(Clazz c)
                                        throws Exception
Throws:
Exception

getDefinition

public static Map<String,String> getDefinition(Clazz c,
                                               Reporter reporter)
                                        throws Exception
Throws:
Exception

annotation

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

classBegin

public void classBegin(int access,
                       Descriptors.TypeRef name)
Overrides:
classBegin in class ClassDataCollector

implementsInterfaces

public void implementsInterfaces(Descriptors.TypeRef[] interfaces)
Overrides:
implementsInterfaces in class ClassDataCollector

method

public void method(Clazz.MethodDef method)
Overrides:
method in class ClassDataCollector

finish

public void finish()


Copyright © 2014 aQute SARL. All rights reserved.