public static enum HDeclarationOptions.NoTypeNameOption extends Enum<HDeclarationOptions.NoTypeNameOption>
| Enum Constant and Description |
|---|
ERROR
when declaration omits type or name,
consider reporting an error
and the name is considered 'value'
|
NAME
when declaration omits type or name,
the parsed item is considered as Name
and the type is considered null as if itr was
declared with 'var' prefix
|
TYPE
when declaration omits type or name,
the parsed item is considered as Type
and the name is considered 'value'
|
| Modifier and Type | Method and Description |
|---|---|
static HDeclarationOptions.NoTypeNameOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HDeclarationOptions.NoTypeNameOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HDeclarationOptions.NoTypeNameOption NAME
public static final HDeclarationOptions.NoTypeNameOption TYPE
public static final HDeclarationOptions.NoTypeNameOption ERROR
public static HDeclarationOptions.NoTypeNameOption[] values()
for (HDeclarationOptions.NoTypeNameOption c : HDeclarationOptions.NoTypeNameOption.values()) System.out.println(c);
public static HDeclarationOptions.NoTypeNameOption 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 © 2021 vpc open source initiative. All rights reserved.