Class ComponentAnnotationReader


  • public class ComponentAnnotationReader
    extends ClassDataCollector
    This converts bnd style annotations to, roughly, the header format.
    • Method Detail

      • setReporter

        public void setReporter​(aQute.service.reporter.Reporter reporter)
      • getReporter

        public aQute.service.reporter.Reporter getReporter()
      • getDefinition

        public static java.util.Map<java.lang.String,​java.lang.String> getDefinition​(Clazz c)
                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getDefinition

        public static java.util.Map<java.lang.String,​java.lang.String> getDefinition​(Clazz c,
                                                                                           aQute.service.reporter.Reporter reporter)
                                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • classBegin

        public void classBegin​(int access,
                               Descriptors.TypeRef name)
        Skip L and ; and replace / for . in an object descriptor. A string like Lcom/acme/Foo; becomes com.acme.Foo
        Overrides:
        classBegin in class ClassDataCollector
      • finish

        public void finish()