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 classpath
           
 java.lang.String destination
           
 java.lang.String[] friendPaths
           
 boolean includeRuntime
           
 java.lang.String kotlinHome
           
 java.lang.String module
           
 java.lang.String moduleName
           
 boolean multifileFacadesOpen
           
 boolean noCallAssertions
           
 boolean noJdk
           
 boolean noOptimize
           
 boolean noParamAssertions
           
 boolean noStdlib
           
 boolean reportPerf
           
 boolean script
           
 
Fields inherited from class org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
extraHelp, freeArgs, help, noInline, PLUGIN_OPTION_FORMAT, pluginClasspaths, pluginOptions, repeat, 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

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

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 runtime libraries discovery")
public java.lang.String kotlinHome

moduleName

@Argument(value="module-name",
          description="Module name")
public java.lang.String moduleName

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

reportPerf

@Argument(value="Xreport-perf",
          description="Report detailed performance statistics")
public boolean reportPerf

multifileFacadesOpen

@Argument(value="Xmultifile-facades-open",
          description="Compile multifile facade classes as open")
public boolean multifileFacadesOpen

friendPaths

public java.lang.String[] friendPaths
Constructor Detail

K2JVMCompilerArguments

public K2JVMCompilerArguments()
Method Detail

executableScriptFileName

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