org.jetbrains.jet.cli.common.arguments
Class K2JVMCompilerArguments

java.lang.Object
  extended by org.jetbrains.jet.cli.common.arguments.CommonCompilerArguments
      extended by org.jetbrains.jet.cli.common.arguments.K2JVMCompilerArguments

public class K2JVMCompilerArguments
extends CommonCompilerArguments

Command line arguments for K2JVMCompiler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jetbrains.jet.cli.common.arguments.CommonCompilerArguments
CommonCompilerArguments.DummyImpl
 
Field Summary
 java.lang.String annotations
           
 java.lang.String classpath
           
 boolean includeRuntime
           
 java.lang.String inline
           
 java.lang.String jar
           
 java.lang.String kotlinHome
           
 java.lang.String module
           
 boolean noJdk
           
 boolean noJdkAnnotations
           
 boolean noStdlib
           
 boolean notNullAssertions
           
 boolean notNullParamAssertions
           
 java.lang.String outputDir
           
 boolean script
           
 java.lang.String src
           
 
Fields inherited from class org.jetbrains.jet.cli.common.arguments.CommonCompilerArguments
freeArgs, help, printArgs, suppress, tags, verbose, version
 
Constructor Summary
K2JVMCompilerArguments()
           
 
Method Summary
 java.lang.String executableScriptFileName()
           
 
Methods inherited from class org.jetbrains.jet.cli.common.arguments.CommonCompilerArguments
suppressAllWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

src

@Argument(value="src",
          description="Source file or directory (allows many paths separated by the system path separator)")
public java.lang.String src

jar

@Argument(value="jar",
          description="Resulting .jar file path")
public java.lang.String jar

outputDir

@Argument(value="output",
          description="Output directory path for .class files")
public java.lang.String outputDir

classpath

@Argument(value="classpath",
          description="Paths where to find user class files")
public java.lang.String classpath

annotations

@Argument(value="annotations",
          description="Paths to external annotations")
public java.lang.String annotations

includeRuntime

@Argument(value="includeRuntime",
          description="Include Kotlin runtime in to resulting .jar")
public boolean includeRuntime

noJdk

@Argument(value="noJdk",
          description="Don\'t include Java runtime into classpath")
public boolean noJdk

noStdlib

@Argument(value="noStdlib",
          description="Don\'t include Kotlin runtime into classpath")
public boolean noStdlib

noJdkAnnotations

@Argument(value="noJdkAnnotations",
          description="Don\'t include JDK external annotations into classpath")
public boolean noJdkAnnotations

notNullAssertions

@Argument(value="notNullAssertions",
          description="Generate not-null assertion after each invocation of method returning not-null")
public boolean notNullAssertions

notNullParamAssertions

@Argument(value="notNullParamAssertions",
          description="Generate not-null assertions on parameters of methods accessible from Java")
public boolean notNullParamAssertions

module

@Argument(value="module",
          description="Path to the module file to compile")
public java.lang.String module

script

@Argument(value="script",
          description="Evaluate the script file")
public boolean script

kotlinHome

@Argument(value="kotlinHome",
          description="Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery")
public java.lang.String kotlinHome

inline

@Argument(value="inline",
          description="Inlining mode (default is on)")
public java.lang.String inline
Constructor Detail

K2JVMCompilerArguments

public K2JVMCompilerArguments()
Method Detail

executableScriptFileName

@NotNull
public java.lang.String executableScriptFileName()
Overrides:
executableScriptFileName in class CommonCompilerArguments