Class GeneratedClass
java.lang.Object
org.jfuncmachine.compiler.classgen.GeneratedClass
A container for generated class bytes and optionally the loaded class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal byte[]The byte array representing the class (exactly the bytes that would be in a .class file)final StringThe fully-qualified name of this classThe class as loaded by the generator's internal classloader -
Constructor Summary
ConstructorsConstructorDescriptionGeneratedClass(String className, byte[] classBytes) Create a new generated class -
Method Summary
-
Field Details
-
className
The fully-qualified name of this class -
classBytes
public final byte[] classBytesThe byte array representing the class (exactly the bytes that would be in a .class file) -
loadedClass
The class as loaded by the generator's internal classloader
-
-
Constructor Details
-
GeneratedClass
Create a new generated class- Parameters:
className- The fully-qualified class nameclassBytes- The byte[] array containing the class
-