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