Package jetbrains.mps.compiler
Enum JavaCompilerOptionsComponent.JavaVersion
- java.lang.Object
 - 
- java.lang.Enum<JavaCompilerOptionsComponent.JavaVersion>
 - 
- jetbrains.mps.compiler.JavaCompilerOptionsComponent.JavaVersion
 
 
 
- 
- All Implemented Interfaces:
 Serializable,Comparable<JavaCompilerOptionsComponent.JavaVersion>
- Enclosing class:
 - JavaCompilerOptionsComponent
 
public static enum JavaCompilerOptionsComponent.JavaVersion extends Enum<JavaCompilerOptionsComponent.JavaVersion>
 
- 
- 
Enum Constant Summary
Enum Constants Enum Constant Description VERSION_1_6VERSION_1_7VERSION_1_8 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCompilerVersion()booleanisAtLeast(JavaCompilerOptionsComponent.JavaVersion version)static JavaCompilerOptionsComponent.JavaVersionparse(String value)static JavaCompilerOptionsComponent.JavaVersionvalueOf(String name)Returns the enum constant of this type with the specified name.static JavaCompilerOptionsComponent.JavaVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared. 
 - 
 
- 
- 
Enum Constant Detail
- 
VERSION_1_6
public static final JavaCompilerOptionsComponent.JavaVersion VERSION_1_6
 
- 
VERSION_1_7
public static final JavaCompilerOptionsComponent.JavaVersion VERSION_1_7
 
- 
VERSION_1_8
public static final JavaCompilerOptionsComponent.JavaVersion VERSION_1_8
 
 - 
 
- 
Method Detail
- 
values
public static JavaCompilerOptionsComponent.JavaVersion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (JavaCompilerOptionsComponent.JavaVersion c : JavaCompilerOptionsComponent.JavaVersion.values()) System.out.println(c);
- Returns:
 - an array containing the constants of this enum type, in the order they are declared
 
 
- 
valueOf
public static JavaCompilerOptionsComponent.JavaVersion valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
 name- the name of the enum constant to be returned.- Returns:
 - the enum constant with the specified name
 - Throws:
 IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
 
- 
isAtLeast
public boolean isAtLeast(@NotNull JavaCompilerOptionsComponent.JavaVersion version)
 
- 
parse
@Nullable public static JavaCompilerOptionsComponent.JavaVersion parse(@Nullable String value)
 
 - 
 
 -