Package aQute.bnd.osgi
Class ClassDataCollector
java.lang.Object
aQute.bnd.osgi.ClassDataCollector
- Direct Known Subclasses:
AnnotationHeaders
,AnnotationHeaders.MetaAnnotationCollector
,CDIAnnotationReader
,ClassDataCollectors.Collectors
,DesignateReader
,DSAnnotationReader
,DSAnnotationReader.ComponentPropertyTypeDataCollector
,MetaTypeReader.Find
,OCDReader.OCDDataCollector
,XMLAttributeFinder
When adding methods to this class, you must also add them to
ClassDataCollectors
!-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
annotation
(Annotation annotation) void
annotationDefault
(Clazz.MethodDef method) void
annotationDefault
(Clazz.MethodDef method, Object value) void
classBegin
(int access, Descriptors.TypeRef name) void
classEnd()
boolean
classStart
(int access, Descriptors.TypeRef className) boolean
classStart
(Clazz c) void
void
void
enclosingMethod
(Descriptors.TypeRef cName, String mName, String mDescriptor) The EnclosingMethod attributevoid
extendsClass
(Descriptors.TypeRef zuper) void
field
(Clazz.FieldDef field) void
implementsInterfaces
(Descriptors.TypeRef[] interfaces) void
innerClass
(Descriptors.TypeRef innerClass, Descriptors.TypeRef outerClass, String innerName, int innerClassAccessFlags) The InnerClass attributevoid
void
method
(Clazz.MethodDef method) void
methodParameters
(Clazz.MethodDef method, Clazz.MethodParameter[] parameters) void
parameter
(int p) void
referenceMethod
(int access, Descriptors.TypeRef className, String method, String descriptor) void
referTo
(Descriptors.TypeRef typeRef, int modifiers) A reference to a type from method or field.void
void
typeuse
(int target_type, int target_index, byte[] target_info, byte[] type_path) void
version
(int minor, int major)
-
Constructor Details
-
ClassDataCollector
public ClassDataCollector()
-
-
Method Details
-
classBegin
-
classStart
-
classStart
-
extendsClass
- Throws:
Exception
-
implementsInterfaces
- Throws:
Exception
-
addReference
-
annotation
- Throws:
Exception
-
parameter
public void parameter(int p) -
method
-
field
-
classEnd
- Throws:
Exception
-
deprecated
- Throws:
Exception
-
enclosingMethod
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 nullmDescriptor
- The descriptor of this type
-
innerClass
public void innerClass(Descriptors.TypeRef innerClass, Descriptors.TypeRef outerClass, String innerName, int innerClassAccessFlags) throws Exception 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.innerClassAccessFlags
- The access flags- Throws:
Exception
-
signature
-
constant
-
memberEnd
public void memberEnd() -
version
public void version(int minor, int major) -
referenceMethod
public void referenceMethod(int access, Descriptors.TypeRef className, String method, String descriptor) -
referTo
A reference to a type from method or field. The modifiers indicate the access level of the parent method/field.- Parameters:
typeRef
-modifiers
-
-
annotationDefault
-
annotationDefault
-
typeuse
public void typeuse(int target_type, int target_index, byte[] target_info, byte[] type_path) -
methodParameters
-