org.jetbrains.jet.cli.jvm
Class K2JVMCompiler

java.lang.Object
  extended by org.jetbrains.jet.cli.common.CLICompiler<K2JVMCompilerArguments>
      extended by org.jetbrains.jet.cli.jvm.K2JVMCompiler

public class K2JVMCompiler
extends CLICompiler<K2JVMCompilerArguments>


Constructor Summary
K2JVMCompiler()
           
 
Method Summary
protected  void configureEnvironment(CompilerConfiguration configuration, K2JVMCompilerArguments arguments)
          Strategy method to configure the environment, allowing compiler based tools to customise their own plugins
protected  K2JVMCompilerArguments createArguments()
          Allow derived classes to add additional command line arguments
protected  ExitCode doExecute(K2JVMCompilerArguments arguments, MessageCollector messageCollector, com.intellij.openapi.Disposable rootDisposable)
           
 ExitCode exec(java.io.PrintStream errStream, K2JVMCompilerArguments arguments)
          Executes the compiler on the parsed arguments
static void main(java.lang.String... args)
           
 
Methods inherited from class org.jetbrains.jet.cli.common.CLICompiler
doMain, doMainNoExit, exec, exec, getMessageRenderer, parseArguments, printVersionIfNeeded, usage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

K2JVMCompiler

public K2JVMCompiler()
Method Detail

main

public static void main(java.lang.String... args)

doExecute

@NotNull
protected ExitCode doExecute(K2JVMCompilerArguments arguments,
                                     MessageCollector messageCollector,
                                     com.intellij.openapi.Disposable rootDisposable)
Specified by:
doExecute in class CLICompiler<K2JVMCompilerArguments>

createArguments

@NotNull
protected K2JVMCompilerArguments createArguments()
Allow derived classes to add additional command line arguments

Specified by:
createArguments in class CLICompiler<K2JVMCompilerArguments>

configureEnvironment

protected void configureEnvironment(@NotNull
                                    CompilerConfiguration configuration,
                                    @NotNull
                                    K2JVMCompilerArguments arguments)
Description copied from class: CLICompiler
Strategy method to configure the environment, allowing compiler based tools to customise their own plugins

Overrides:
configureEnvironment in class CLICompiler<K2JVMCompilerArguments>

exec

@NotNull
public ExitCode exec(@NotNull
                             java.io.PrintStream errStream,
                             @NotNull
                             K2JVMCompilerArguments arguments)
Description copied from class: CLICompiler
Executes the compiler on the parsed arguments

Overrides:
exec in class CLICompiler<K2JVMCompilerArguments>