ovm.polyd
Enum Missing

java.lang.Object
  extended by java.lang.Enum<Missing>
      extended by ovm.polyd.Missing
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Missing>

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

The set of possible values for the OnMissing tag.


Enum Constant Summary
ABORT
          when a method is not found, about immediately calling System.exit
FAIL
          when a method is not found, always throw a MissingMethodException
IGNORE
          always ignore the missing method
STANDARD
          refer to the handling specified in the dispatching policy
WARN
          always print a warning when a missing method is encountered
 
Method Summary
static Missing valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Missing[] 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

STANDARD

public static final Missing STANDARD
refer to the handling specified in the dispatching policy


IGNORE

public static final Missing IGNORE
always ignore the missing method


WARN

public static final Missing WARN
always print a warning when a missing method is encountered


FAIL

public static final Missing FAIL
when a method is not found, always throw a MissingMethodException


ABORT

public static final Missing ABORT
when a method is not found, about immediately calling System.exit

Method Detail

values

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

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

valueOf

public static Missing 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