public enum HostKind extends Enum<HostKind>
Enum Constant and Description |
---|
BLOCK_COMMENT |
DOUBLE_QUOTE_LITERAL |
JAVADOC_COMMENT |
LINE_COMMENT |
TEXT_BLOCK_LITERAL |
Modifier and Type | Method and Description |
---|---|
static HostKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostKind LINE_COMMENT
public static final HostKind BLOCK_COMMENT
public static final HostKind JAVADOC_COMMENT
public static final HostKind DOUBLE_QUOTE_LITERAL
public static final HostKind TEXT_BLOCK_LITERAL
public static HostKind[] values()
for (HostKind c : HostKind.values()) System.out.println(c);
public static HostKind 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 © 2024. All rights reserved.