public class CachedCompiler extends Object
| Constructor and Description |
|---|
CachedCompiler(@Nullable File sourceDir,
@Nullable File classDir) |
| Modifier and Type | Method and Description |
|---|---|
static void |
close() |
Class |
loadFromJava(@NotNull ClassLoader classLoader,
@NotNull String className,
@NotNull String javaCode) |
Class |
loadFromJava(@NotNull ClassLoader classLoader,
@NotNull String className,
@NotNull String javaCode,
@Nullable PrintWriter writer) |
Class |
loadFromJava(@NotNull String className,
@NotNull String javaCode) |
public static void close()
public Class loadFromJava(@NotNull @NotNull String className, @NotNull @NotNull String javaCode) throws ClassNotFoundException
ClassNotFoundExceptionpublic Class loadFromJava(@NotNull @NotNull ClassLoader classLoader, @NotNull @NotNull String className, @NotNull @NotNull String javaCode) throws ClassNotFoundException
ClassNotFoundExceptionpublic Class loadFromJava(@NotNull @NotNull ClassLoader classLoader, @NotNull @NotNull String className, @NotNull @NotNull String javaCode, @Nullable @Nullable PrintWriter writer) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2024. All rights reserved.