aQute.lib.osgi
Class ClassDataCollector

java.lang.Object
  extended by aQute.lib.osgi.ClassDataCollector
Direct Known Subclasses:
AnnotationReader, ComponentAnnotationReader, MetaTypeReader

public class ClassDataCollector
extends Object


Constructor Summary
ClassDataCollector()
           
 
Method Summary
 void addReference(String token)
           
 void annotation(Annotation annotation)
           
 void classBegin(int access, String name)
           
 void classEnd()
           
 boolean classStart(int access, String name)
           
 void constant(Object object)
           
 void constructor(int access, String descriptor)
          Deprecated. 
 void enclosingMethod(String cName, String mName, String mDescriptor)
          The EnclosingMethod attribute
 void extendsClass(String name)
           
 void field(Clazz.FieldDef defined)
           
 void field(int access, String name, String descriptor)
          Deprecated. 
 void implementsInterfaces(String[] name)
           
 void innerClass(String innerClass, String outerClass, String innerName, int innerClassAccessFlags)
          The InnerClass attribute
 void method(Clazz.MethodDef defined)
           
 void method(int access, String name, String descriptor)
          Deprecated. 
 void parameter(int p)
           
 void reference(Clazz.FieldDef referenced)
           
 void reference(Clazz.MethodDef referenced)
           
 void signature(String signature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDataCollector

public ClassDataCollector()
Method Detail

classBegin

public void classBegin(int access,
                       String name)

classStart

public boolean classStart(int access,
                          String name)

extendsClass

public void extendsClass(String name)

implementsInterfaces

public void implementsInterfaces(String[] name)

addReference

public void addReference(String token)

annotation

public void annotation(Annotation annotation)

parameter

public void parameter(int p)

method

public void method(Clazz.MethodDef defined)

field

public void field(Clazz.FieldDef defined)

reference

public void reference(Clazz.MethodDef referenced)

reference

public void reference(Clazz.FieldDef referenced)

classEnd

public void classEnd()

field

@Deprecated
public void field(int access,
                             String name,
                             String descriptor)
Deprecated. 


constructor

@Deprecated
public void constructor(int access,
                                   String descriptor)
Deprecated. 


method

@Deprecated
public void method(int access,
                              String name,
                              String descriptor)
Deprecated. 


enclosingMethod

public void enclosingMethod(String cName,
                            String mName,
                            String mDescriptor)
The EnclosingMethod attribute

Parameters:
cName - The name of the enclosing class, never null. Name is with slashes.
mName - The name of the enclosing method in the class with cName or null
mDescriptor - The descriptor of this type

innerClass

public void innerClass(String innerClass,
                       String outerClass,
                       String innerName,
                       int innerClassAccessFlags)
The InnerClass attribute

Parameters:
innerClass - The name of the inner class (with slashes). Can be null.
outerClass - The name of the outer class (with slashes) Can be null.
innerName - The name inside the outer class, can be null.
modifiers - The access flags

signature

public void signature(String signature)

constant

public void constant(Object object)


Copyright © 2012 aQute SARL. All Rights Reserved.