public enum TreeApiLevel extends java.lang.Enum<TreeApiLevel> implements IntegralConstant
AST
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static TreeApiLevel |
latest() |
static TreeApiLevel |
valueOf(org.eclipse.jdt.core.dom.AST tree) |
static TreeApiLevel |
valueOf(org.eclipse.jdt.core.dom.ASTNode node) |
static TreeApiLevel |
valueOf(int value) |
static TreeApiLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeApiLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static java.util.Set<java.lang.Integer> |
valuesAsIntegers() |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
equals
public static final TreeApiLevel JLS2
AST.JLS2
public static final TreeApiLevel JLS3
AST.JLS3
public static final TreeApiLevel JLS4
AST.JLS4
public static TreeApiLevel[] values()
for (TreeApiLevel c : TreeApiLevel.values()) System.out.println(c);
public static TreeApiLevel 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 nullpublic static TreeApiLevel latest()
public static java.util.Set<java.lang.Integer> valuesAsIntegers()
public static TreeApiLevel valueOf(int value)
public static TreeApiLevel valueOf(org.eclipse.jdt.core.dom.AST tree)
public static TreeApiLevel valueOf(org.eclipse.jdt.core.dom.ASTNode node)
public int getValue()
getValue
in interface IntegralConstant