public class CachedCompiler extends Object implements Closeable
| Constructor and Description |
|---|
CachedCompiler(@Nullable File sourceDir,
@Nullable File classDir) |
| Modifier and Type | Method and Description |
|---|---|
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 void close()
close in interface Closeableclose in interface AutoCloseablepublic 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 © 2021. All rights reserved.