io.sarl.lang.compiler.batch
Enumeration OptimizationLevel
All Superinterfaces:
java.io.Serializable, java.lang.Comparable<T>, java.lang.constant.Constable
final enum OptimizationLevel
extends java.lang.Object
Level of optimization of the Java code.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
batchcompiler
Since:
0.8
Property Summary
Modifier and type Property and description
java.lang.String caseInsensitiveName
Replies the string representation of this optimization level.
Enumeration Constant Summary
Constant and description
G0
No optimization, debugging information included.
G1
No optimization, no debugging information included.
G2
Optimization, no debugging information included.
Action Summary
Modifier and type Action and description
java.lang.String getCaseInsensitiveName
Replies the string representation of this optimization level.
static OptimizationLevel getDefault
Replies the default optimization level.
static OptimizationLevel valueOf(String)
static OptimizationLevel valueOfCaseInsensitive(String)
Parse the given case insensitive string for obtaining the optimization level.
static OptimizationLevel values
Enumeration Constant Details
G0
static val G0 : OptimizationLevel
No optimization, debugging information included.
G1
static val G1 : OptimizationLevel
No optimization, no debugging information included.
G2
static val G2 : OptimizationLevel
Optimization, no debugging information included.
Property Details
caseInsensitiveName
val caseInsensitiveName : java.lang.String
Replies the string representation of this optimization level.

This property is an alias for the action: getCaseInsensitiveName

Returns:
the string representation.
Action Details
getCaseInsensitiveName
def getCaseInsensitiveName : java.lang.String
Replies the string representation of this optimization level.
Returns:
the string representation.
getDefault
def getDefault : OptimizationLevel
Replies the default optimization level.
Returns:
the default optimization level.
valueOf(String)
def valueOf(String) : OptimizationLevel
valueOfCaseInsensitive(String)
def valueOfCaseInsensitive(String) : OptimizationLevel
Parse the given case insensitive string for obtaining the optimization level.
Parameters:
name - the string to parse.
Returns:
the optimization level, or null if the string cannot be parsed.
values
def values : OptimizationLevel