Class ReflectBuilder
java.lang.Object
aQute.bnd.classfile.builder.ReflectBuilder
In some cases it is necessary to have a ClassFile for a built in Java class.
This builder will create a reflect builder that is based on a Class object.
Unfortunately, restrictions in the Java API make it impossible to get all the
details. For example, there are no code attributes.
This is far from complete but it can be used in analysis cases. All information about the types of methods and fields are captured.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassFileBuilderCreate a ClassFileBuilder based on the given class
-
Constructor Details
-
ReflectBuilder
public ReflectBuilder()
-
-
Method Details
-
of
Create a ClassFileBuilder based on the given class- Parameters:
c- the given class- Returns:
- a ClassFileBuilder initialized with the class
-