Enum ASTUserClassOrInterface.TypeKind
- java.lang.Object
-
- java.lang.Enum<ASTUserClassOrInterface.TypeKind>
-
- net.sourceforge.pmd.lang.apex.ast.ASTUserClassOrInterface.TypeKind
-
- All Implemented Interfaces:
Serializable
,Comparable<ASTUserClassOrInterface.TypeKind>
- Enclosing interface:
- ASTUserClassOrInterface<T extends apex.jorje.semantic.ast.AstNode>
public static enum ASTUserClassOrInterface.TypeKind extends Enum<ASTUserClassOrInterface.TypeKind>
The kind of type this node declares.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ASTUserClassOrInterface.TypeKind
valueOf(String name)
Returns the enum constant of this type with the specified name.static ASTUserClassOrInterface.TypeKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLASS
public static final ASTUserClassOrInterface.TypeKind CLASS
-
INTERFACE
public static final ASTUserClassOrInterface.TypeKind INTERFACE
-
-
Method Detail
-
values
public static ASTUserClassOrInterface.TypeKind[] values()
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 (ASTUserClassOrInterface.TypeKind c : ASTUserClassOrInterface.TypeKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ASTUserClassOrInterface.TypeKind valueOf(String name)
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
-
-