public class DefineClass
extends java.lang.Object
Constructor and Description |
---|
DefineClass() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class |
of(java.lang.String className,
byte[] classData,
java.lang.ClassLoader classLoader)
Defines a class from byte array into the specified class loader.
|
public static java.lang.Class of(java.lang.String className, byte[] classData, java.lang.ClassLoader classLoader)
className
- optional class name, may be null
classData
- bytecode dataclassLoader
- classloader that will load classCopyright © 2003-present Jodd Team