public static enum Tool.OptionArgType extends Enum<Tool.OptionArgType>
Modifier and Type | Method and Description |
---|---|
static Tool.OptionArgType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Tool.OptionArgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Tool.OptionArgType NONE
public static final Tool.OptionArgType STRING
public static Tool.OptionArgType[] values()
for (Tool.OptionArgType c : Tool.OptionArgType.values()) System.out.println(c);
public static Tool.OptionArgType 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 © 1992–2021 ANTLR. All rights reserved.