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 addCompilerBuiltIns
           
 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
allowKotlinPackage, apiVersion, coroutinesEnable, coroutinesError, coroutinesWarn, extraHelp, freeArgs, help, languageVersion, multiPlatform, noCheckImpl, noInline, noJavaVersionWarning, 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

scriptTemplates

@Argument(value="script-templates",
          description="Script definition template classes")
public java.lang.String[] scriptTemplates

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


javaParameters


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

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

singleModule

@Argument(value="Xsingle-module",
          description="Combine modules for source files and binary dependencies into a single module")
public boolean singleModule

addCompilerBuiltIns

@Argument(value="Xadd-compiler-builtins",
          description="Add definitions of built-in declarations to the compilation classpath (useful with -no-stdlib)")
public boolean addCompilerBuiltIns

loadBuiltInsFromDependencies

@Argument(value="Xload-builtins-from-dependencies",
          description="Load definitions of built-in declarations from module dependencies, instead of from the compiler")
public boolean loadBuiltInsFromDependencies

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