org.eclipse.xtext.common.types.util
Enum TypeConformanceResult.Kind

java.lang.Object
  extended by java.lang.Enum<TypeConformanceResult.Kind>
      extended by org.eclipse.xtext.common.types.util.TypeConformanceResult.Kind
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TypeConformanceResult.Kind>
Enclosing class:
TypeConformanceResult

public static enum TypeConformanceResult.Kind
extends java.lang.Enum<TypeConformanceResult.Kind>


Enum Constant Summary
BOXING
           
DEMAND_CONVERSION
           
EXCEPTION
           
FAILED
           
PRIMITIVE_WIDENING
           
SUBTYPE
           
SUCCESS
           
SYNONYM
           
UNBOXING
           
 
Method Summary
static TypeConformanceResult.Kind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TypeConformanceResult.Kind[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

SUCCESS

public static final TypeConformanceResult.Kind SUCCESS

SUBTYPE

public static final TypeConformanceResult.Kind SUBTYPE

PRIMITIVE_WIDENING

public static final TypeConformanceResult.Kind PRIMITIVE_WIDENING

BOXING

public static final TypeConformanceResult.Kind BOXING

UNBOXING

public static final TypeConformanceResult.Kind UNBOXING

SYNONYM

public static final TypeConformanceResult.Kind SYNONYM

DEMAND_CONVERSION

public static final TypeConformanceResult.Kind DEMAND_CONVERSION

FAILED

public static final TypeConformanceResult.Kind FAILED

EXCEPTION

public static final TypeConformanceResult.Kind EXCEPTION
Method Detail

values

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

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

valueOf

public static TypeConformanceResult.Kind 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