public class SafeClassDefiner extends Object implements ClassDefiner
Modifier and Type | Method and Description |
---|---|
Class<?> |
defineClass(ClassLoader parentLoader,
String name,
byte[] data)
Define a class
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInstance, isBypassAccessChecks
@NonNull public Class<?> defineClass(@NonNull ClassLoader parentLoader, @NonNull String name, @NonNull byte[] data)
ClassDefiner
defineClass
in interface ClassDefiner
parentLoader
- the parent classloadername
- the name of the classdata
- the class data to loadCopyright © 2022. All rights reserved.