Package edu.umd.cs.findbugs.ba
Class NullnessAnnotation
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.AnnotationEnumeration<NullnessAnnotation>
-
- edu.umd.cs.findbugs.ba.NullnessAnnotation
-
- All Implemented Interfaces:
java.lang.Comparable<NullnessAnnotation>
@ParametersAreNonnullByDefault public class NullnessAnnotation extends AnnotationEnumeration<NullnessAnnotation>
Nullness annotation detector.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NullnessAnnotation.Parser
-
Field Summary
Fields Modifier and Type Field Description static NullnessAnnotation
CHECK_FOR_NULL
private static NullnessAnnotation[]
myValues
static NullnessAnnotation
NONNULL
static NullnessAnnotation
NULLABLE
static NullnessAnnotation
UNKNOWN_NULLNESS
-
Fields inherited from class edu.umd.cs.findbugs.ba.AnnotationEnumeration
name
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NullnessAnnotation(java.lang.String s, int i)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
match(java.lang.String className)
static NullnessAnnotation[]
values()
-
-
-
Field Detail
-
CHECK_FOR_NULL
public static final NullnessAnnotation CHECK_FOR_NULL
-
NONNULL
public static final NullnessAnnotation NONNULL
-
NULLABLE
public static final NullnessAnnotation NULLABLE
-
UNKNOWN_NULLNESS
public static final NullnessAnnotation UNKNOWN_NULLNESS
-
myValues
private static final NullnessAnnotation[] myValues
-
-
Method Detail
-
match
boolean match(@DottedClassName java.lang.String className)
-
values
public static NullnessAnnotation[] values()
-
-