com.sun.tools.javac.code
Enum Flags.Flag
java.lang.Object
java.lang.Enum<Flags.Flag>
com.sun.tools.javac.code.Flags.Flag
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Flags.Flag>
- Enclosing class:
- Flags
public static enum Flags.Flag
- extends java.lang.Enum<Flags.Flag>
|
Field Summary |
(package private) java.lang.String |
name
|
|
Method Summary |
java.lang.String |
toString()
|
static Flags.Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Flags.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
| Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
PUBLIC
public static final Flags.Flag PUBLIC
PRIVATE
public static final Flags.Flag PRIVATE
PROTECTED
public static final Flags.Flag PROTECTED
STATIC
public static final Flags.Flag STATIC
FINAL
public static final Flags.Flag FINAL
SYNCHRONIZED
public static final Flags.Flag SYNCHRONIZED
VOLATILE
public static final Flags.Flag VOLATILE
TRANSIENT
public static final Flags.Flag TRANSIENT
NATIVE
public static final Flags.Flag NATIVE
INTERFACE
public static final Flags.Flag INTERFACE
ABSTRACT
public static final Flags.Flag ABSTRACT
STRICTFP
public static final Flags.Flag STRICTFP
BRIDGE
public static final Flags.Flag BRIDGE
SYNTHETIC
public static final Flags.Flag SYNTHETIC
DEPRECATED
public static final Flags.Flag DEPRECATED
HASINIT
public static final Flags.Flag HASINIT
ENUM
public static final Flags.Flag ENUM
IPROXY
public static final Flags.Flag IPROXY
NOOUTERTHIS
public static final Flags.Flag NOOUTERTHIS
EXISTS
public static final Flags.Flag EXISTS
COMPOUND
public static final Flags.Flag COMPOUND
CLASS_SEEN
public static final Flags.Flag CLASS_SEEN
SOURCE_SEEN
public static final Flags.Flag SOURCE_SEEN
LOCKED
public static final Flags.Flag LOCKED
UNATTRIBUTED
public static final Flags.Flag UNATTRIBUTED
ANONCONSTR
public static final Flags.Flag ANONCONSTR
ACYCLIC
public static final Flags.Flag ACYCLIC
PARAMETER
public static final Flags.Flag PARAMETER
VARARGS
public static final Flags.Flag VARARGS
PACKAGE
public static final Flags.Flag PACKAGE
SEPARABLE
public static final Flags.Flag SEPARABLE
name
java.lang.String name
values
public static final Flags.Flag[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Flags.Flag c : Flags.Flag.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static Flags.Flag valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Enum<Flags.Flag>