public static enum Source.Kind extends java.lang.Enum<Source.Kind>
Enum Constant and Description |
---|
COMPILER_GENERATED
Indicates the source file was generated by the compiler.
|
DEPENDENCY
Indicates the source file was pulled in as a dependency.
|
USER_SPECIFIED
Indicates the source file was specified by the user.
|
Modifier and Type | Method and Description |
---|---|
static Source.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Source.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Source.Kind USER_SPECIFIED
public static final Source.Kind DEPENDENCY
public static final Source.Kind COMPILER_GENERATED
public static Source.Kind[] values()
for (Source.Kind c : Source.Kind.values()) System.out.println(c);
public static Source.Kind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null