public final class CompilerUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Class |
defineClass(@NotNull ClassLoader classLoader,
@NotNull String className,
byte[] bytes)
Define a class for byte code.
|
public static Class defineClass(@NotNull @NotNull ClassLoader classLoader, @NotNull @NotNull String className, byte[] bytes)
classLoader
- to load the class into.className
- expected to load.bytes
- of the byte code.Copyright © 2023. All rights reserved.