- getType
Return the Class object for this class, if it is loadable.
- toByteArray
Return the bytecode of this class as a byte array, possibly for use in a custom
ClassLoader.
- getName
Return the name of this class, including package name. The name will be in a
form suitable for a Cla
- setSuperclass
Set the superclass of this class.
- addDefaultConstructor
Convenience method to add a default constructor to this class. If a default
constructor already exis
- getFields
Return all fields with the given name, including those of all superclasses, or
an empty array if non
- getMethods
Return the methods with the given name and parameter types, including those of
all superclasses, or
- write
Write the class bytecode to the specified stream.
- addAttribute
- declareField
Import the information from given field as a new field in this class.
- declareInterface
Add an interface to those declared by this class.
- declareMethod
Import the information in the given method as a new method of this class.