public interface ClassDefiner
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
defineClass(ClassLoader parentLoader,
String name,
byte[] data)
Define a class
|
static ClassDefiner |
getInstance() |
default boolean |
isBypassAccessChecks()
Returns if the defined classes can bypass access checks
|
default boolean isBypassAccessChecks()
Class<?> defineClass(ClassLoader parentLoader, String name, byte[] data)
parentLoader - the parent classloadername - the name of the classdata - the class data to loadClassFormatError - if the class data is invalidNullPointerException - if any of the arguments are nullstatic ClassDefiner getInstance()
Copyright © 2021. All rights reserved.