public static enum CodeBlock.BlockType extends java.lang.Enum<CodeBlock.BlockType>
| Enum Constant and Description |
|---|
Annotation |
Attribute |
Class |
CommentBlock |
CommentLine |
Condition |
Constructor |
Function |
Import |
Interface |
LineOfCode |
Loop |
Package |
Return |
StringValue |
TryCatch |
Undefined |
| Modifier and Type | Method and Description |
|---|---|
static CodeBlock.BlockType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CodeBlock.BlockType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeBlock.BlockType Undefined
public static final CodeBlock.BlockType Package
public static final CodeBlock.BlockType Import
public static final CodeBlock.BlockType Class
public static final CodeBlock.BlockType Interface
public static final CodeBlock.BlockType Attribute
public static final CodeBlock.BlockType CommentLine
public static final CodeBlock.BlockType CommentBlock
public static final CodeBlock.BlockType Annotation
public static final CodeBlock.BlockType Function
public static final CodeBlock.BlockType Constructor
public static final CodeBlock.BlockType Condition
public static final CodeBlock.BlockType Loop
public static final CodeBlock.BlockType TryCatch
public static final CodeBlock.BlockType LineOfCode
public static final CodeBlock.BlockType Return
public static final CodeBlock.BlockType StringValue
public static CodeBlock.BlockType[] values()
for (CodeBlock.BlockType c : CodeBlock.BlockType.values()) System.out.println(c);
public static CodeBlock.BlockType 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 null