public class DummyClassGenerator extends Object
| Constructor and Description |
|---|
DummyClassGenerator() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
createClass(Class<?> type,
String name,
Class<?> exceptionType)
Creates a new class prepared to be loaded into the
ClassLoader. |
public byte[] createClass(Class<?> type, String name, Class<?> exceptionType)
ClassLoader.type - The type of class to implementname - The name of the classexceptionType - The exception type to throw for all methods