org.jetbrains.jet.cli.jvm.compiler
Class KotlinToJVMBytecodeCompiler
java.lang.Object
org.jetbrains.jet.cli.jvm.compiler.KotlinToJVMBytecodeCompiler
public class KotlinToJVMBytecodeCompiler
- extends java.lang.Object
Method Summary |
static GenerationState |
analyzeAndGenerate(JetCoreEnvironment environment)
|
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,
jet.modules.Module module,
java.io.File directory)
|
static boolean |
compileModules(CompilerConfiguration configuration,
ModuleChunk chunk,
java.io.File directory,
java.io.File jarPath,
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
compileModule
@Nullable
public static ClassFileFactory compileModule(CompilerConfiguration configuration,
jet.modules.Module module,
java.io.File directory)
compileModules
public static boolean compileModules(CompilerConfiguration configuration,
@NotNull
ModuleChunk chunk,
@NotNull
java.io.File directory,
@Nullable
java.io.File jarPath,
boolean jarRuntime)
compileBunchOfSources
public static boolean compileBunchOfSources(JetCoreEnvironment environment,
@Nullable
java.io.File jar,
@Nullable
java.io.File outputDir,
boolean includeRuntime)
compileAndExecuteScript
public static boolean compileAndExecuteScript(@NotNull
KotlinPaths paths,
@NotNull
JetCoreEnvironment environment,
@NotNull
java.util.List<java.lang.String> scriptArgs)
analyzeAndGenerate
@Nullable
public static GenerationState analyzeAndGenerate(JetCoreEnvironment environment)
compileScript
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)