public enum Section extends Enum<Section>
| Enum Constant and Description |
|---|
ARRAY_LITERAL |
BLOCK |
RESOURCE |
STATEMENT |
TYPE |
| Modifier and Type | Method and Description |
|---|---|
static Section |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Section[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Section BLOCK
public static final Section TYPE
public static final Section ARRAY_LITERAL
public static final Section STATEMENT
public static final Section RESOURCE
public static Section[] values()
for (Section c : Section.values()) System.out.println(c);
public static Section valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019 Objectos Software LTDA. All rights reserved.