org.codehaus.jparsec.examples.java.ast.statement
Enum SystemModifier
java.lang.Object
java.lang.Enum<SystemModifier>
org.codehaus.jparsec.examples.java.ast.statement.SystemModifier
- All Implemented Interfaces:
- Serializable, Comparable<SystemModifier>, Modifier
public enum SystemModifier
- extends Enum<SystemModifier>
- implements Modifier
Represents built in modifiers.
- Author:
- Ben Yu
STATIC
public static final SystemModifier STATIC
ABSTRACT
public static final SystemModifier ABSTRACT
FINAL
public static final SystemModifier FINAL
SYNCHRONIZED
public static final SystemModifier SYNCHRONIZED
VOLATILE
public static final SystemModifier VOLATILE
TRANSIENT
public static final SystemModifier TRANSIENT
NATIVE
public static final SystemModifier NATIVE
PUBLIC
public static final SystemModifier PUBLIC
PROTECTED
public static final SystemModifier PROTECTED
PRIVATE
public static final SystemModifier PRIVATE
values
public static SystemModifier[] 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 (SystemModifier c : SystemModifier.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SystemModifier 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
toString
public String toString()
- Overrides:
toString in class Enum<SystemModifier>
Copyright © 2014. All rights reserved.