public enum JavaSourceVersion extends java.lang.Enum<JavaSourceVersion>
| Enum Constant and Description |
|---|
JAVA_3 |
JAVA_4 |
JAVA_5 |
JAVA_6 |
JAVA_7 |
| Modifier and Type | Method and Description |
|---|---|
static JavaSourceVersion |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaSourceVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaSourceVersion JAVA_3
public static final JavaSourceVersion JAVA_4
public static final JavaSourceVersion JAVA_5
public static final JavaSourceVersion JAVA_6
public static final JavaSourceVersion JAVA_7
public static JavaSourceVersion[] values()
for (JavaSourceVersion c : JavaSourceVersion.values()) System.out.println(c);
public static JavaSourceVersion valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null