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
ClassNotFoundException
public Class loadFromJava(@NotNull @NotNull ClassLoader classLoader, @NotNull @NotNull String className, @NotNull @NotNull String javaCode) throws ClassNotFoundException
ClassNotFoundException
public Class loadFromJava(@NotNull @NotNull ClassLoader classLoader, @NotNull @NotNull String className, @NotNull @NotNull String javaCode, @Nullable @Nullable PrintWriter writer) throws ClassNotFoundException
ClassNotFoundException
Copyright © 2017. All rights reserved.