Package net.sourceforge.pmd.lang.dfa
Enum NodeType
- java.lang.Object
-
- java.lang.Enum<NodeType>
-
- net.sourceforge.pmd.lang.dfa.NodeType
-
- All Implemented Interfaces:
Serializable
,Comparable<NodeType>
@Deprecated public enum NodeType extends Enum<NodeType>
Deprecated.SeeDataFlowNode
Represents the type (DFA-wise) of a DataFlowNode.- Author:
- raik
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSERT_STATEMENT
Deprecated.BREAK_STATEMENT
Deprecated.CASE_LAST_STATEMENT
Deprecated.CONTINUE_STATEMENT
Deprecated.DO_BEFORE_FIRST_STATEMENT
Deprecated.DO_EXPR
Deprecated.ELSE_LAST_STATEMENT
Deprecated.FOR_BEFORE_FIRST_STATEMENT
Deprecated.FOR_END
Deprecated.FOR_EXPR
Deprecated.FOR_INIT
Deprecated.FOR_UPDATE
Deprecated.IF_EXPR
Deprecated.IF_LAST_STATEMENT
Deprecated.IF_LAST_STATEMENT_WITHOUT_ELSE
Deprecated.LABEL_LAST_STATEMENT
Deprecated.LABEL_STATEMENT
Deprecated.RETURN_STATEMENT
Deprecated.ROOT
Deprecated.SWITCH_END
Deprecated.SWITCH_LAST_DEFAULT_STATEMENT
Deprecated.SWITCH_START
Deprecated.THROW_STATEMENT
Deprecated.WHILE_EXPR
Deprecated.WHILE_LAST_STATEMENT
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
toString()
Deprecated.static NodeType
valueOf(String name)
Deprecated.Returns the enum constant of this type with the specified name.static NodeType[]
values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ROOT
public static final NodeType ROOT
Deprecated.
-
IF_EXPR
public static final NodeType IF_EXPR
Deprecated.
-
IF_LAST_STATEMENT
public static final NodeType IF_LAST_STATEMENT
Deprecated.
-
IF_LAST_STATEMENT_WITHOUT_ELSE
public static final NodeType IF_LAST_STATEMENT_WITHOUT_ELSE
Deprecated.
-
ELSE_LAST_STATEMENT
public static final NodeType ELSE_LAST_STATEMENT
Deprecated.
-
WHILE_EXPR
public static final NodeType WHILE_EXPR
Deprecated.
-
WHILE_LAST_STATEMENT
public static final NodeType WHILE_LAST_STATEMENT
Deprecated.
-
SWITCH_START
public static final NodeType SWITCH_START
Deprecated.
-
CASE_LAST_STATEMENT
public static final NodeType CASE_LAST_STATEMENT
Deprecated.
-
SWITCH_LAST_DEFAULT_STATEMENT
public static final NodeType SWITCH_LAST_DEFAULT_STATEMENT
Deprecated.
-
SWITCH_END
public static final NodeType SWITCH_END
Deprecated.
-
FOR_INIT
public static final NodeType FOR_INIT
Deprecated.
-
FOR_EXPR
public static final NodeType FOR_EXPR
Deprecated.
-
FOR_UPDATE
public static final NodeType FOR_UPDATE
Deprecated.
-
FOR_BEFORE_FIRST_STATEMENT
public static final NodeType FOR_BEFORE_FIRST_STATEMENT
Deprecated.
-
FOR_END
public static final NodeType FOR_END
Deprecated.
-
DO_BEFORE_FIRST_STATEMENT
public static final NodeType DO_BEFORE_FIRST_STATEMENT
Deprecated.
-
DO_EXPR
public static final NodeType DO_EXPR
Deprecated.
-
RETURN_STATEMENT
public static final NodeType RETURN_STATEMENT
Deprecated.
-
BREAK_STATEMENT
public static final NodeType BREAK_STATEMENT
Deprecated.
-
CONTINUE_STATEMENT
public static final NodeType CONTINUE_STATEMENT
Deprecated.
-
LABEL_STATEMENT
public static final NodeType LABEL_STATEMENT
Deprecated.
-
LABEL_LAST_STATEMENT
public static final NodeType LABEL_LAST_STATEMENT
Deprecated.
-
ASSERT_STATEMENT
public static final NodeType ASSERT_STATEMENT
Deprecated.
-
THROW_STATEMENT
public static final NodeType THROW_STATEMENT
Deprecated.
-
-
Method Detail
-
values
public static NodeType[] values()
Deprecated.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 (NodeType c : NodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NodeType valueOf(String name)
Deprecated.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
-
-