org.aspectj.org.eclipse.jdt.internal.compiler.ast
Enum NullAnnotationMatching.CheckMode

java.lang.Object
  extended by java.lang.Enum<NullAnnotationMatching.CheckMode>
      extended by org.aspectj.org.eclipse.jdt.internal.compiler.ast.NullAnnotationMatching.CheckMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<NullAnnotationMatching.CheckMode>
Enclosing class:
NullAnnotationMatching

public static enum NullAnnotationMatching.CheckMode
extends java.lang.Enum<NullAnnotationMatching.CheckMode>


Enum Constant Summary
BOUND_CHECK
          in this mode we check compatibility of a type argument against the corresponding type parameter.
COMPATIBLE
          in this mode we check normal assignment compatibility.
OVERRIDE
          in this mode we do not tolerate incompatibly missing annotations on type parameters (for overriding analysis)
 
Method Summary
static NullAnnotationMatching.CheckMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NullAnnotationMatching.CheckMode[] 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

COMPATIBLE

public static final NullAnnotationMatching.CheckMode COMPATIBLE
in this mode we check normal assignment compatibility.


OVERRIDE

public static final NullAnnotationMatching.CheckMode OVERRIDE
in this mode we do not tolerate incompatibly missing annotations on type parameters (for overriding analysis)


BOUND_CHECK

public static final NullAnnotationMatching.CheckMode BOUND_CHECK
in this mode we check compatibility of a type argument against the corresponding type parameter.

Method Detail

values

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

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

valueOf

public static NullAnnotationMatching.CheckMode 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
java.lang.NullPointerException - if the argument is null