Class SafeClassDefiner
java.lang.Object
com.destroystokyo.paper.event.executor.asm.SafeClassDefiner
- All Implemented Interfaces:
ClassDefiner
-
Method Summary
Modifier and TypeMethodDescriptionClass
<?> defineClass
(ClassLoader parentLoader, String name, byte[] data) Define a classMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.destroystokyo.paper.event.executor.asm.ClassDefiner
isBypassAccessChecks
-
Method Details
-
defineClass
Description copied from interface:ClassDefiner
Define a class- Specified by:
defineClass
in interfaceClassDefiner
- Parameters:
parentLoader
- the parent classloadername
- the name of the classdata
- the class data to load- Returns:
- the defined class
-