Options for Scala platform compilation, excluding any options for compilation with Ant.
Type | Name and description |
---|---|
List<String> |
getAdditionalParameters() Additional parameters passed to the compiler. |
String |
getDebugLevel() Generate debugging information. |
String |
getEncoding() Encoding of source files. |
ScalaForkOptions |
getForkOptions() Options for running the Scala compiler in a separate process. |
IncrementalCompileOptions |
getIncrementalOptions() |
String |
getLoggingLevel() Specifies the amount of logging. |
List<String> |
getLoggingPhases() Phases of the compiler to log. |
boolean |
isDeprecation() Generate deprecation information. |
boolean |
isFailOnError() Fail the build on compilation errors. |
boolean |
isForce() Whether to force the compilation of all files. |
boolean |
isListFiles() List files to be compiled. |
boolean |
isOptimize() Run optimizations. |
boolean |
isUnchecked() Generate unchecked information. |
void |
setAdditionalParameters(List<String> additionalParameters) |
void |
setDebugLevel(String debugLevel) |
void |
setDeprecation(boolean deprecation) |
void |
setEncoding(String encoding) |
void |
setFailOnError(boolean failOnError) |
void |
setForce(boolean force) |
void |
setForkOptions(ScalaForkOptions forkOptions) |
void |
setIncrementalOptions(IncrementalCompileOptions incrementalOptions) |
void |
setListFiles(boolean listFiles) |
void |
setLoggingLevel(String loggingLevel) |
void |
setLoggingPhases(List<String> loggingPhases) |
void |
setOptimize(boolean optimize) |
void |
setUnchecked(boolean unchecked) |
Methods inherited from class | Name |
---|---|
class AbstractOptions |
define, excludeFromAntProperties, getAntPropertyName, getAntPropertyValue, optionMap |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Additional parameters passed to the compiler. Each parameter must start with '-'.
Generate debugging information. Legal values: none, source, line, vars, notailcalls
Options for running the Scala compiler in a separate process. These options only take effect
if fork
is set to true
.
Specifies the amount of logging. Legal values: none, verbose, debug
Phases of the compiler to log. Legal values: namer, typer, pickler, uncurry, tailcalls, transmatch, explicitouter, erasure, lambdalift, flatten, constructors, mixin, icode, jvm, terminal.
Generate deprecation information.
Fail the build on compilation errors.
Whether to force the compilation of all files. Legal values: - false (only compile modified files) - true (always recompile all files)
List files to be compiled.
Run optimizations.
Generate unchecked information.