org.jetbrains.jet.cli.jvm
Class K2JVMCompilerArguments
java.lang.Object
org.jetbrains.jet.cli.common.CompilerArguments
org.jetbrains.jet.cli.CommonCompilerArguments
org.jetbrains.jet.cli.jvm.K2JVMCompilerArguments
public class K2JVMCompilerArguments
- extends CommonCompilerArguments
Command line arguments for the K2JVMCompiler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jar
@Argument(value="jar",
description="jar file name")
public java.lang.String jar
src
@Argument(value="src",
description="source file or directory (allows many paths separated by the system path separator)")
public java.lang.String src
classpath
@Argument(value="classpath",
description="classpath to use when compiling")
public java.lang.String classpath
annotations
@Argument(value="annotations",
description="paths to external annotations")
public java.lang.String annotations
includeRuntime
@Argument(value="includeRuntime",
description="include Kotlin runtime in to resulting jar")
public boolean includeRuntime
noJdk
@Argument(value="noJdk",
description="don\'t include Java runtime into classpath")
public boolean noJdk
noStdlib
@Argument(value="noStdlib",
description="don\'t include Kotlin runtime into classpath")
public boolean noStdlib
noJdkAnnotations
@Argument(value="noJdkAnnotations",
description="don\'t include JDK external annotations into classpath")
public boolean noJdkAnnotations
notNullAssertions
@Argument(value="notNullAssertions",
description="generate not-null assertion after each invokation of method returning not-null")
public boolean notNullAssertions
notNullParamAssertions
@Argument(value="notNullParamAssertions",
description="generate not-null assertions on parameters of methods accessible from Java")
public boolean notNullParamAssertions
outputDir
@Argument(value="output",
description="output directory")
public java.lang.String outputDir
module
@Argument(value="module",
description="module to compile")
public java.lang.String module
script
@Argument(value="script",
description="evaluate script")
public boolean script
kotlinHome
@Argument(value="kotlinHome",
description="Path to Kotlin compiler home directory, used for annotations and runtime libraries discovery")
public java.lang.String kotlinHome
K2JVMCompilerArguments
public K2JVMCompilerArguments()
getSourceDirs
public java.util.List<java.lang.String> getSourceDirs()
setSourceDirs
public void setSourceDirs(java.util.List<java.lang.String> sourceDirs)
getKotlinHome
public java.lang.String getKotlinHome()
setKotlinHome
public void setKotlinHome(java.lang.String kotlinHome)
getClasspath
public java.lang.String getClasspath()
setClasspath
public void setClasspath(java.lang.String classpath)
isIncludeRuntime
public boolean isIncludeRuntime()
setIncludeRuntime
public void setIncludeRuntime(boolean includeRuntime)
getJar
public java.lang.String getJar()
setJar
public void setJar(java.lang.String jar)
getModule
public java.lang.String getModule()
setModule
public void setModule(java.lang.String module)
getOutputDir
public java.lang.String getOutputDir()
setOutputDir
public void setOutputDir(java.lang.String outputDir)
getSrc
public java.lang.String getSrc()
- Specified by:
getSrc
in class CompilerArguments
setSrc
public void setSrc(java.lang.String src)
setNoStdlib
public void setNoStdlib(boolean noStdlib)