org.jetbrains.kotlin.cli.common.arguments
Class K2JVMCompilerArguments
java.lang.Object
org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
org.jetbrains.kotlin.cli.common.arguments.K2JVMCompilerArguments
public class K2JVMCompilerArguments
- extends CommonCompilerArguments
Fields inherited from class org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments |
extraHelp, freeArgs, help, languageVersion, noInline, PLUGIN_OPTION_FORMAT, pluginClasspaths, pluginOptions, repeat, suppressWarnings, unknownExtraFlags, verbose, version |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
jdkHome
@Argument(value="jdk-home",
description="Path to JDK home directory to include into classpath, if differs from default JAVA_HOME")
public java.lang.String jdkHome
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
noReflect
@Argument(value="no-reflect",
description="Don\'t include Kotlin reflection implementation into classpath")
public boolean 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
@Argument(value="jvm-target",
description="Target version of the generated JVM bytecode, only 1.6 is supported")
public java.lang.String 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="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
K2JVMCompilerArguments
public K2JVMCompilerArguments()
executableScriptFileName
@NotNull
public java.lang.String executableScriptFileName()
- Overrides:
executableScriptFileName
in class CommonCompilerArguments