public static enum StaticSourceFile.SourceKind extends java.lang.Enum<StaticSourceFile.SourceKind>
Enum Constant and Description |
---|
EXTERN
A file whose contents are extern declarations.
|
STRONG
A file whose contents are necessary both for type checking and emitting code.
|
WEAK
A file whose contents are necessary for type checking only.
|
Modifier and Type | Method and Description |
---|---|
static StaticSourceFile.SourceKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StaticSourceFile.SourceKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StaticSourceFile.SourceKind STRONG
public static final StaticSourceFile.SourceKind WEAK
public static final StaticSourceFile.SourceKind EXTERN
public static StaticSourceFile.SourceKind[] values()
for (StaticSourceFile.SourceKind c : StaticSourceFile.SourceKind.values()) System.out.println(c);
public static StaticSourceFile.SourceKind 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 nullCopyright © 2009-2018 Google. All Rights Reserved.