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

inheritMultifileParts

@Argument(value="Xmultifile-parts-inherit",
          description="Compile multifile classes as a hierarchy of parts and facade")
public boolean inheritMultifileParts

allowKotlinPackage

@Argument(value="Xallow-kotlin-package",
          description="Allow compiling code in package \'kotlin\'")
public boolean allowKotlinPackage

skipMetadataVersionCheck

@Argument(value="Xskip-metadata-version-check",
          description="Try loading binary incompatible classes, may cause crashes")
public boolean skipMetadataVersionCheck

declarationsOutputPath

@Argument(value="Xdump-declarations-to",
          description="Path to JSON file to dump Java to Kotlin declaration mappings")
public java.lang.String declarationsOutputPath

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