ClassDefiner
public class SafeClassDefiner extends Object implements ClassDefiner
Modifier and Type | Method | Description |
---|---|---|
@NotNull Class<?> |
defineClass(@NotNull ClassLoader parentLoader,
@NotNull String name,
@org.jetbrains.annotations.NotNull byte[] data) |
Define a class
|
isBypassAccessChecks
@NotNull public @NotNull Class<?> defineClass(@NotNull @NotNull ClassLoader parentLoader, @NotNull @NotNull String name, @NotNull @org.jetbrains.annotations.NotNull byte[] data)
ClassDefiner
defineClass
in interface ClassDefiner
parentLoader
- the parent classloadername
- the name of the classdata
- the class data to loadCopyright © 2020. All rights reserved.