public enum TreeParserConstructKind extends java.lang.Enum<TreeParserConstructKind> implements IntegralConstant, TypeConstant<org.eclipse.jdt.core.dom.ASTNode>
ASTParser
Enum Constant and Description |
---|
CLASS_BODY_DECLARATIONS |
COMPILATION_UNIT |
EXPRESSION |
STATEMENTS |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends org.eclipse.jdt.core.dom.ASTNode> |
getType() |
int |
getValue() |
static TreeParserConstructKind |
valueOf(org.eclipse.jdt.core.dom.ASTNode element) |
static TreeParserConstructKind |
valueOf(java.lang.Class<? extends org.eclipse.jdt.core.dom.ASTNode> type) |
static TreeParserConstructKind |
valueOf(int value) |
static TreeParserConstructKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TreeParserConstructKind[] |
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() |
static java.util.Set<java.lang.Class<? extends org.eclipse.jdt.core.dom.ASTNode>> |
valuesAsTypes() |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
equals
equals
public static final TreeParserConstructKind COMPILATION_UNIT
ASTParser.K_COMPILATION_UNIT
public static final TreeParserConstructKind CLASS_BODY_DECLARATIONS
ASTParser.K_CLASS_BODY_DECLARATIONS
public static final TreeParserConstructKind EXPRESSION
ASTParser.K_EXPRESSION
public static final TreeParserConstructKind STATEMENTS
ASTParser.K_STATEMENTS
public static TreeParserConstructKind[] values()
for (TreeParserConstructKind c : TreeParserConstructKind.values()) System.out.println(c);
public static TreeParserConstructKind 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 java.util.Set<java.lang.Integer> valuesAsIntegers()
public static java.util.Set<java.lang.Class<? extends org.eclipse.jdt.core.dom.ASTNode>> valuesAsTypes()
public static TreeParserConstructKind valueOf(int value)
public static TreeParserConstructKind valueOf(java.lang.Class<? extends org.eclipse.jdt.core.dom.ASTNode> type)
public static TreeParserConstructKind valueOf(org.eclipse.jdt.core.dom.ASTNode element)
public int getValue()
getValue
in interface IntegralConstant
public java.lang.Class<? extends org.eclipse.jdt.core.dom.ASTNode> getType()
getType
in interface TypeConstant<org.eclipse.jdt.core.dom.ASTNode>