public enum FileKind extends Enum<FileKind>
BUCK
, .bzl
or PACKAGE
file, which have slight different syntaxModifier and Type | Method and Description |
---|---|
static FileKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileKind BUCK
public static final FileKind BZL
public static final FileKind PACKAGE
public static FileKind[] values()
for (FileKind c : FileKind.values()) System.out.println(c);
public static FileKind 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 null