org.jetbrains.jet.cli.jvm.compiler
Class KotlinToJVMBytecodeCompiler

java.lang.Object
  extended by org.jetbrains.jet.cli.jvm.compiler.KotlinToJVMBytecodeCompiler

public class KotlinToJVMBytecodeCompiler
extends java.lang.Object


Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

compileModule

@Nullable
public static ClassFileFactory compileModule(CompilerConfiguration configuration,
                                                      Module moduleBuilder,
                                                      java.io.File directory)

compileModules

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)

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)

analyzeAndGenerate

@Nullable
public static GenerationState analyzeAndGenerate(JetCoreEnvironment environment,
                                                          boolean stubs)

analyzeAndGenerate

@Nullable
public static GenerationState analyzeAndGenerate(JetCoreEnvironment environment,
                                                          boolean stubs,
                                                          java.util.List<AnalyzerScriptParameter> scriptParameters)

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)