Class DummyClassGenerator
java.lang.Object
com.griefdefender.api.util.generator.DummyClassGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]createClass(Class<?> type, String name, Class<?> exceptionType) Creates a new class prepared to be loaded into theClassLoader.
-
Constructor Details
-
DummyClassGenerator
public DummyClassGenerator()
-
-
Method Details
-
createClass
Creates a new class prepared to be loaded into theClassLoader.- Parameters:
type- The type of class to implementname- The name of the classexceptionType- The exception type to throw for all methods- Returns:
- The generated class
-