koala.dynamicjava.tree
Enum ModifierSet.Modifier

java.lang.Object
  extended by java.lang.Enum<ModifierSet.Modifier>
      extended by koala.dynamicjava.tree.ModifierSet.Modifier
All Implemented Interfaces:
Serializable, Comparable<ModifierSet.Modifier>
Enclosing class:
ModifierSet

public static enum ModifierSet.Modifier
extends Enum<ModifierSet.Modifier>


Enum Constant Summary
ABSTRACT
           
ANNOTATION
           
BRIDGE
           
ENUM
           
FINAL
           
INTERFACE
           
NATIVE
           
PRIVATE
           
PROTECTED
           
PUBLIC
           
STATIC
           
STRICT
           
SYNCHRONIZED
           
SYNTHETIC
           
TRANSIENT
           
VARARGS
           
VOLATILE
           
 
Method Summary
abstract  int getBits()
          Get the bit mask used by the JVM to represent this modifier.
abstract  String getName()
          Get the string used to represent this modifier in source code.
static ModifierSet.Modifier valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ModifierSet.Modifier[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PUBLIC

public static final ModifierSet.Modifier PUBLIC

PRIVATE

public static final ModifierSet.Modifier PRIVATE

PROTECTED

public static final ModifierSet.Modifier PROTECTED

STATIC

public static final ModifierSet.Modifier STATIC

FINAL

public static final ModifierSet.Modifier FINAL

ABSTRACT

public static final ModifierSet.Modifier ABSTRACT

VOLATILE

public static final ModifierSet.Modifier VOLATILE

TRANSIENT

public static final ModifierSet.Modifier TRANSIENT

SYNCHRONIZED

public static final ModifierSet.Modifier SYNCHRONIZED

NATIVE

public static final ModifierSet.Modifier NATIVE

STRICT

public static final ModifierSet.Modifier STRICT

INTERFACE

public static final ModifierSet.Modifier INTERFACE

ANNOTATION

public static final ModifierSet.Modifier ANNOTATION

ENUM

public static final ModifierSet.Modifier ENUM

BRIDGE

public static final ModifierSet.Modifier BRIDGE

VARARGS

public static final ModifierSet.Modifier VARARGS

SYNTHETIC

public static final ModifierSet.Modifier SYNTHETIC
Method Detail

values

public static ModifierSet.Modifier[] 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 (ModifierSet.Modifier c : ModifierSet.Modifier.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ModifierSet.Modifier 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

getBits

public abstract int getBits()
Get the bit mask used by the JVM to represent this modifier.


getName

public abstract String getName()
Get the string used to represent this modifier in source code. Implicit modifiers are bracketed.