Enum SystemModifier
- java.lang.Object
-
- java.lang.Enum<SystemModifier>
-
- org.jparsec.examples.java.ast.statement.SystemModifier
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SystemModifier>
,Modifier
public enum SystemModifier extends java.lang.Enum<SystemModifier> implements Modifier
Represents built in modifiers.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SystemModifier()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
static SystemModifier
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SystemModifier[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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
-
-
Method Detail
-
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(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 namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<SystemModifier>
-
-