public class KotlinToJVMBytecodeCompiler extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static GenerationState |
analyzeAndGenerate(JetCoreEnvironment environment) |
static GenerationState |
analyzeAndGenerate(JetCoreEnvironment environment,
boolean stubs) |
static GenerationState |
analyzeAndGenerate(JetCoreEnvironment environment,
boolean stubs,
java.util.List<AnalyzerScriptParameter> scriptParameters) |
static boolean |
compileAndExecuteScript(KotlinPaths paths,
JetCoreEnvironment environment,
java.util.List<java.lang.String> scriptArgs) |
static boolean |
compileBunchOfSources(JetCoreEnvironment environment,
java.io.File jar,
java.io.File outputDir,
boolean includeRuntime) |
static ClassFileFactory |
compileModule(CompilerConfiguration configuration,
Module moduleBuilder,
java.io.File directory) |
static boolean |
compileModules(CompilerConfiguration configuration,
java.util.List<Module> modules,
java.io.File directory,
java.io.File jarPath,
java.io.File outputDir,
boolean jarRuntime) |
static java.lang.Class |
compileScript(java.lang.ClassLoader parentLoader,
KotlinPaths paths,
java.lang.String scriptPath,
java.util.List<AnalyzerScriptParameter> scriptParameters,
java.util.List<JetScriptDefinition> scriptDefinitions) |
@Nullable public static ClassFileFactory compileModule(CompilerConfiguration configuration, Module moduleBuilder, java.io.File directory)
public static boolean compileModules(CompilerConfiguration configuration, @NotNull java.util.List<Module> modules, @NotNull java.io.File directory, @Nullable java.io.File jarPath, @Nullable java.io.File outputDir, boolean jarRuntime)
public static boolean compileBunchOfSources(JetCoreEnvironment environment, @Nullable java.io.File jar, @Nullable java.io.File outputDir, boolean includeRuntime)
public static boolean compileAndExecuteScript(@NotNull KotlinPaths paths, @NotNull JetCoreEnvironment environment, @NotNull java.util.List<java.lang.String> scriptArgs)
@Nullable public static GenerationState analyzeAndGenerate(JetCoreEnvironment environment)
@Nullable public static GenerationState analyzeAndGenerate(JetCoreEnvironment environment, boolean stubs)
@Nullable public static GenerationState analyzeAndGenerate(JetCoreEnvironment environment, boolean stubs, java.util.List<AnalyzerScriptParameter> scriptParameters)
public static java.lang.Class compileScript(@NotNull java.lang.ClassLoader parentLoader, @NotNull KotlinPaths paths, @NotNull java.lang.String scriptPath, @Nullable java.util.List<AnalyzerScriptParameter> scriptParameters, @Nullable java.util.List<JetScriptDefinition> scriptDefinitions)