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, waitMethods inherited from interface com.destroystokyo.paper.event.executor.asm.ClassDefiner
isBypassAccessChecks
-
Method Details
-
defineClass
Description copied from interface:ClassDefinerDefine a class- Specified by:
defineClassin interfaceClassDefiner- Parameters:
parentLoader- the parent classloadername- the name of the classdata- the class data to load- Returns:
- the defined class
-