net.sf.rej.java.instruction
Enum ParameterType

java.lang.Object
  extended by java.lang.Enum<ParameterType>
      extended by net.sf.rej.java.instruction.ParameterType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ParameterType>

public enum ParameterType
extends java.lang.Enum<ParameterType>


Enum Constant Summary
TYPE_ARRAYTYPE
           
TYPE_CONSTANT
           
TYPE_CONSTANT_POOL_CLASS
           
TYPE_CONSTANT_POOL_CONSTANT
           
TYPE_CONSTANT_POOL_FIELD_REF
           
TYPE_CONSTANT_POOL_METHOD_REF
           
TYPE_CONSTANT_READONLY
           
TYPE_CONSTANT_WIDE
           
TYPE_LABEL
           
TYPE_LOCAL_VARIABLE
           
TYPE_LOCAL_VARIABLE_READONLY
           
TYPE_LOCAL_VARIABLE_WIDE
           
TYPE_SWITCH
           
 
Method Summary
static ParameterType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ParameterType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TYPE_LOCAL_VARIABLE

public static final ParameterType TYPE_LOCAL_VARIABLE

TYPE_LOCAL_VARIABLE_READONLY

public static final ParameterType TYPE_LOCAL_VARIABLE_READONLY

TYPE_LOCAL_VARIABLE_WIDE

public static final ParameterType TYPE_LOCAL_VARIABLE_WIDE

TYPE_CONSTANT_POOL_METHOD_REF

public static final ParameterType TYPE_CONSTANT_POOL_METHOD_REF

TYPE_CONSTANT_POOL_CLASS

public static final ParameterType TYPE_CONSTANT_POOL_CLASS

TYPE_CONSTANT_POOL_CONSTANT

public static final ParameterType TYPE_CONSTANT_POOL_CONSTANT

TYPE_CONSTANT_POOL_FIELD_REF

public static final ParameterType TYPE_CONSTANT_POOL_FIELD_REF

TYPE_LABEL

public static final ParameterType TYPE_LABEL

TYPE_SWITCH

public static final ParameterType TYPE_SWITCH

TYPE_CONSTANT

public static final ParameterType TYPE_CONSTANT

TYPE_CONSTANT_READONLY

public static final ParameterType TYPE_CONSTANT_READONLY

TYPE_CONSTANT_WIDE

public static final ParameterType TYPE_CONSTANT_WIDE

TYPE_ARRAYTYPE

public static final ParameterType TYPE_ARRAYTYPE
Method Detail

values

public static final ParameterType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ParameterType c : ParameterType.values())
        System.out.println(c);

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

valueOf

public static ParameterType 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 name