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
All Implemented Interfaces:
java.io.Serializable

public class K2JVMCompilerArguments
extends CommonCompilerArguments

See Also:
Serialized Form

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
          
Fields inherited from class org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
apiVersion, extraHelp, freeArgs, help, languageVersion, 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

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

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


jdkHome


noJdk


noStdlib


noReflect


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

jvmTarget


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="Load classes with bad metadata version anyway (incl. pre-release classes)")
public boolean skipMetadataVersionCheck

skipRuntimeVersionCheck

@Argument(value="Xskip-runtime-version-check",
          description="Allow Kotlin runtime libraries of incompatible versions in the classpath")
public boolean skipRuntimeVersionCheck

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