public static enum NullAnnotationMatching.CheckMode extends java.lang.Enum<NullAnnotationMatching.CheckMode>
| Enum Constant and Description |
|---|
BOUND_CHECK
in this mode we check compatibility of a type argument against the corresponding type parameter.
|
BOUND_SUPER_CHECK
similar to COMPATIBLE, but for type variables we look for instantiations, rather than treating them as "free type variables".
|
COMPATIBLE
in this mode we check normal assignment compatibility.
|
EXACT
in this mode we check similar to isTypeArgumentContained.
|
OVERRIDE
in this mode we do not tolerate incompatibly missing annotations on type parameters (for overriding analysis)
|
OVERRIDE_RETURN
allow covariant return types, but no other deviations.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public static final NullAnnotationMatching.CheckMode COMPATIBLE
public static final NullAnnotationMatching.CheckMode EXACT
public static final NullAnnotationMatching.CheckMode BOUND_CHECK
public static final NullAnnotationMatching.CheckMode BOUND_SUPER_CHECK
public static final NullAnnotationMatching.CheckMode OVERRIDE_RETURN
public static final NullAnnotationMatching.CheckMode OVERRIDE
public static NullAnnotationMatching.CheckMode[] values()
for (NullAnnotationMatching.CheckMode c : NullAnnotationMatching.CheckMode.values()) System.out.println(c);
public static NullAnnotationMatching.CheckMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null