org.codehaus.jparsec.examples.java.ast.statement
Enum SystemModifier

java.lang.Object
  extended by java.lang.Enum<SystemModifier>
      extended by 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

Enum Constant Summary
ABSTRACT
           
FINAL
           
NATIVE
           
PRIVATE
           
PROTECTED
           
PUBLIC
           
STATIC
           
SYNCHRONIZED
           
TRANSIENT
           
VOLATILE
           
 
Method Summary
 String toString()
           
static SystemModifier valueOf(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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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(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.