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

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

public class K2JVMCompilerArguments
extends CommonCompilerArguments


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
CommonCompilerArguments.DummyImpl
 
Field Summary
 java.lang.String annotations
           
 java.lang.String classpath
           
 java.lang.String destination
           
 boolean includeRuntime
           
 java.lang.String kotlinHome
           
 java.lang.String module
           
 boolean noCallAssertions
           
 boolean noJdk
           
 boolean noJdkAnnotations
           
 boolean noOptimize
           
 boolean noParamAssertions
           
 boolean noStdlib
           
 boolean script
           
 
Fields inherited from class org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
extraHelp, freeArgs, help, noInline, suppressWarnings, verbose, version
 
Constructor Summary
K2JVMCompilerArguments()
           
 
Method Summary
 java.lang.String executableScriptFileName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

destination

@Argument(value="d",
          description="Destination for generated class files")
public java.lang.String destination

classpath

@Argument(value="classpath",
          alias="cp",
          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="include-runtime",
          description="Include Kotlin runtime in to resulting .jar")
public boolean includeRuntime

noJdk

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

noStdlib

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

noJdkAnnotations

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

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="kotlin-home",
          description="Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery")
public java.lang.String kotlinHome

noCallAssertions

@Argument(value="Xno-call-assertions",
          description="Don\'t generate not-null assertion after each invocation of method returning not-null")
public boolean noCallAssertions

noParamAssertions

@Argument(value="Xno-param-assertions",
          description="Don\'t generate not-null assertions on parameters of methods accessible from Java")
public boolean noParamAssertions

noOptimize

@Argument(value="Xno-optimize",
          description="Disable optimizations")
public boolean noOptimize
Constructor Detail

K2JVMCompilerArguments

public K2JVMCompilerArguments()
Method Detail

executableScriptFileName

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