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 TypeMethodDescriptionvoidvoidannotation(Annotation annotation) voidannotationDefault(Clazz.MethodDef method) voidannotationDefault(Clazz.MethodDef method, Object value) voidclassBegin(int access, Descriptors.TypeRef name) voidclassEnd()booleanclassStart(int access, Descriptors.TypeRef className) booleanclassStart(Clazz clazz) voidvoidvoidenclosingMethod(Descriptors.TypeRef cName, String mName, String mDescriptor) The EnclosingMethod attributevoidextendsClass(Descriptors.TypeRef zuper) voidfield(Clazz.FieldDef field) voidimplementsInterfaces(Descriptors.TypeRef[] interfaces) voidinnerClass(Descriptors.TypeRef innerClass, Descriptors.TypeRef outerClass, String innerName, int innerClassAccessFlags) The InnerClass attributevoidvoidmethod(Clazz.MethodDef method) voidmethodParameters(Clazz.MethodDef method, Clazz.MethodParameter[] parameters) voidparameter(int p) voidreferenceMethod(int access, Descriptors.TypeRef className, String method, String descriptor) voidreferTo(Descriptors.TypeRef typeRef, int modifiers) A reference to a type from method or field.voidvoidtypeuse(int target_type, int target_index, byte[] target_info, byte[] type_path) voidversion(int minor, int major)
-
Field Details
-
clazz
-
shortlist
-
-
Constructor Details
-
Collectors
Collectors(Clazz clazz)
-
-
Method Details
-
classBegin
- Overrides:
classBeginin classClassDataCollector
-
classStart
- Overrides:
classStartin classClassDataCollector
-
classStart
- Overrides:
classStartin classClassDataCollector
-
extendsClass
- Overrides:
extendsClassin classClassDataCollector- Throws:
Exception
-
implementsInterfaces
- Overrides:
implementsInterfacesin classClassDataCollector- Throws:
Exception
-
addReference
- Overrides:
addReferencein classClassDataCollector
-
annotation
- Overrides:
annotationin classClassDataCollector
-
parameter
public void parameter(int p) - Overrides:
parameterin classClassDataCollector
-
method
- Overrides:
methodin classClassDataCollector
-
field
- Overrides:
fieldin classClassDataCollector
-
classEnd
- Overrides:
classEndin classClassDataCollector- Throws:
Exception
-
deprecated
- Overrides:
deprecatedin classClassDataCollector- Throws:
Exception
-
enclosingMethod
Description copied from class:ClassDataCollectorThe EnclosingMethod attribute- Overrides:
enclosingMethodin 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:ClassDataCollectorThe InnerClass attribute- Overrides:
innerClassin 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:
signaturein classClassDataCollector
-
constant
- Overrides:
constantin classClassDataCollector
-
memberEnd
public void memberEnd()- Overrides:
memberEndin classClassDataCollector
-
version
public void version(int minor, int major) - Overrides:
versionin classClassDataCollector
-
referenceMethod
public void referenceMethod(int access, Descriptors.TypeRef className, String method, String descriptor) - Overrides:
referenceMethodin classClassDataCollector
-
referTo
Description copied from class:ClassDataCollectorA reference to a type from method or field. The modifiers indicate the access level of the parent method/field.- Overrides:
referToin classClassDataCollector- Parameters:
typeRef-modifiers-
-
annotationDefault
- Overrides:
annotationDefaultin classClassDataCollector
-
annotationDefault
- Overrides:
annotationDefaultin classClassDataCollector
-
typeuse
public void typeuse(int target_type, int target_index, byte[] target_info, byte[] type_path) - Overrides:
typeusein classClassDataCollector
-
methodParameters
- Overrides:
methodParametersin classClassDataCollector
-