Enum Class NullAnnotationMatching.CheckMode

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

public static enum NullAnnotationMatching.CheckMode extends Enum<NullAnnotationMatching.CheckMode>
  • Enum Constant Details

    • COMPATIBLE

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

      public static final NullAnnotationMatching.CheckMode EXACT
      in this mode we check similar to isTypeArgumentContained.
    • BOUND_CHECK

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

      public static final NullAnnotationMatching.CheckMode BOUND_SUPER_CHECK
      similar to COMPATIBLE, but for type variables we look for instantiations, rather than treating them as "free type variables".
    • OVERRIDE_RETURN

      public static final NullAnnotationMatching.CheckMode OVERRIDE_RETURN
      allow covariant return types, but no other deviations.
    • OVERRIDE

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

    • values

      public static NullAnnotationMatching.CheckMode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static NullAnnotationMatching.CheckMode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null