com.threerings.presents.tools
Enum ActionScriptSource.Mode
java.lang.Object
java.lang.Enum<ActionScriptSource.Mode>
com.threerings.presents.tools.ActionScriptSource.Mode
- All Implemented Interfaces:
- Serializable, Comparable<ActionScriptSource.Mode>
- Enclosing class:
- ActionScriptSource
protected static enum ActionScriptSource.Mode
- extends Enum<ActionScriptSource.Mode>
Denotes various phases of class file parsing.
PREAMBLE
public static final ActionScriptSource.Mode PREAMBLE
IMPORTS
public static final ActionScriptSource.Mode IMPORTS
CLASSCOMMENT
public static final ActionScriptSource.Mode CLASSCOMMENT
CLASSDECL
public static final ActionScriptSource.Mode CLASSDECL
CLASSBODY
public static final ActionScriptSource.Mode CLASSBODY
METHODBODY
public static final ActionScriptSource.Mode METHODBODY
POSTCLASS
public static final ActionScriptSource.Mode POSTCLASS
POSTPKG
public static final ActionScriptSource.Mode POSTPKG
values
public static ActionScriptSource.Mode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ActionScriptSource.Mode c : ActionScriptSource.Mode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ActionScriptSource.Mode valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null