public enum NodeType extends java.lang.Enum<NodeType>
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
|
static NodeType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeType ROOT
public static final NodeType IF_EXPR
public static final NodeType IF_LAST_STATEMENT
public static final NodeType IF_LAST_STATEMENT_WITHOUT_ELSE
public static final NodeType ELSE_LAST_STATEMENT
public static final NodeType WHILE_EXPR
public static final NodeType WHILE_LAST_STATEMENT
public static final NodeType SWITCH_START
public static final NodeType CASE_LAST_STATEMENT
public static final NodeType SWITCH_LAST_DEFAULT_STATEMENT
public static final NodeType SWITCH_END
public static final NodeType FOR_INIT
public static final NodeType FOR_EXPR
public static final NodeType FOR_UPDATE
public static final NodeType FOR_BEFORE_FIRST_STATEMENT
public static final NodeType FOR_END
public static final NodeType DO_BEFORE_FIRST_STATEMENT
public static final NodeType DO_EXPR
public static final NodeType RETURN_STATEMENT
public static final NodeType BREAK_STATEMENT
public static final NodeType CONTINUE_STATEMENT
public static final NodeType LABEL_STATEMENT
public static final NodeType LABEL_LAST_STATEMENT
public static final NodeType ASSERT_STATEMENT
public static final NodeType THROW_STATEMENT
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType 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 java.lang.String toString()
toString
in class java.lang.Enum<NodeType>
Copyright © 2002–2018 PMD. All rights reserved.