Class SafeClassDefiner
java.lang.Object
com.destroystokyo.paper.event.executor.asm.SafeClassDefiner
- All Implemented Interfaces:
- ClassDefiner
- 
Method SummaryModifier and TypeMethodDescriptiondefineClass(@NotNull ClassLoader parentLoader, @NotNull String name, @org.jetbrains.annotations.NotNull byte[] data) Define a classMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.destroystokyo.paper.event.executor.asm.ClassDefinerisBypassAccessChecks
- 
Method Details- 
defineClass@NotNull public @NotNull Class<?> defineClass(@NotNull @NotNull ClassLoader parentLoader, @NotNull @NotNull String name, @NotNull @org.jetbrains.annotations.NotNull byte[] data) Description copied from interface:ClassDefinerDefine a class- Specified by:
- defineClassin interface- ClassDefiner
- Parameters:
- parentLoader- the parent classloader
- name- the name of the class
- data- the class data to load
- Returns:
- the defined class
 
 
-