Package aQute.bnd.osgi
Class ClassDataCollectors.Collectors
java.lang.Object
aQute.bnd.osgi.ClassDataCollector
aQute.bnd.osgi.ClassDataCollectors.Collectors
- Enclosing class:
- ClassDataCollectors
-
Field Summary
Fields -
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 clazz) 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)
-
Field Details
-
clazz
-
shortlist
-
-
Constructor Details
-
Collectors
Collectors(Clazz clazz)
-
-
Method Details
-
classBegin
- Overrides:
classBegin
in classClassDataCollector
-
classStart
- Overrides:
classStart
in classClassDataCollector
-
classStart
- Overrides:
classStart
in classClassDataCollector
-
extendsClass
- Overrides:
extendsClass
in classClassDataCollector
- Throws:
Exception
-
implementsInterfaces
- Overrides:
implementsInterfaces
in classClassDataCollector
- Throws:
Exception
-
addReference
- Overrides:
addReference
in classClassDataCollector
-
annotation
- Overrides:
annotation
in classClassDataCollector
-
parameter
public void parameter(int p) - Overrides:
parameter
in classClassDataCollector
-
method
- Overrides:
method
in classClassDataCollector
-
field
- Overrides:
field
in classClassDataCollector
-
classEnd
- Overrides:
classEnd
in classClassDataCollector
- Throws:
Exception
-
deprecated
- Overrides:
deprecated
in classClassDataCollector
- Throws:
Exception
-
enclosingMethod
Description copied from class:ClassDataCollector
The EnclosingMethod attribute- Overrides:
enclosingMethod
in classClassDataCollector
- 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 Description copied from class:ClassDataCollector
The InnerClass attribute- Overrides:
innerClass
in classClassDataCollector
- 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
- Overrides:
signature
in classClassDataCollector
-
constant
- Overrides:
constant
in classClassDataCollector
-
memberEnd
public void memberEnd()- Overrides:
memberEnd
in classClassDataCollector
-
version
public void version(int minor, int major) - Overrides:
version
in classClassDataCollector
-
referenceMethod
public void referenceMethod(int access, Descriptors.TypeRef className, String method, String descriptor) - Overrides:
referenceMethod
in classClassDataCollector
-
referTo
Description copied from class:ClassDataCollector
A reference to a type from method or field. The modifiers indicate the access level of the parent method/field.- Overrides:
referTo
in classClassDataCollector
-
annotationDefault
- Overrides:
annotationDefault
in classClassDataCollector
-
annotationDefault
- Overrides:
annotationDefault
in classClassDataCollector
-
typeuse
public void typeuse(int target_type, int target_index, byte[] target_info, byte[] type_path) - Overrides:
typeuse
in classClassDataCollector
-
methodParameters
- Overrides:
methodParameters
in classClassDataCollector
-