Class CheckReturnValueAnnotation
java.lang.Object
edu.umd.cs.findbugs.ba.AnnotationEnumeration<CheckReturnValueAnnotation>
edu.umd.cs.findbugs.ba.CheckReturnValueAnnotation
- All Implemented Interfaces:
Comparable<CheckReturnValueAnnotation>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CheckReturnValueAnnotationstatic final CheckReturnValueAnnotationstatic final CheckReturnValueAnnotationstatic final CheckReturnValueAnnotationstatic final CheckReturnValueAnnotationstatic final CheckReturnValueAnnotationstatic final CheckReturnValueAnnotationstatic final CheckReturnValueAnnotationstatic final CheckReturnValueAnnotationprivate static final CheckReturnValueAnnotation[](package private) final String(package private) final intFields inherited from class AnnotationEnumeration
name -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateCheckReturnValueAnnotation(String s, int i, int p) privateCheckReturnValueAnnotation(String s, int i, String pattern, int p) -
Method Summary
Modifier and TypeMethodDescriptionstatic CheckReturnValueAnnotationcreateFor(javax.annotation.meta.When when) intstatic CheckReturnValueAnnotationstatic CheckReturnValueAnnotation[]values()
-
Field Details
-
priority
final int priority -
pattern
-
CHECK_RETURN_VALUE_UNKNOWN
-
CHECK_RETURN_VALUE_HIGH
-
CHECK_RETURN_VALUE_MEDIUM
-
CHECK_RETURN_VALUE_LOW
-
CHECK_RETURN_VALUE_IGNORE
-
CHECK_RETURN_VALUE_VERY_HIGH
-
CHECK_RETURN_VALUE_LOW_BAD_PRACTICE
-
CHECK_RETURN_VALUE_MEDIUM_BAD_PRACTICE
-
CHECK_RETURN_VALUE_INFERRED
-
myValues
-
-
Constructor Details
-
CheckReturnValueAnnotation
-
CheckReturnValueAnnotation
-
-
Method Details
-
parse
-
values
-
getPriority
public int getPriority() -
getPattern
-
createFor
@CheckForNull public static CheckReturnValueAnnotation createFor(@NonNull javax.annotation.meta.When when)
-