Package edu.umd.cs.findbugs.annotations
Annotation Type CheckReturnValue
-
@Documented @Target({METHOD,CONSTRUCTOR}) @Retention(CLASS) @Deprecated public @interface CheckReturnValue
Deprecated.- useCheckReturnValue
instead.This annotation is used to denote a method whose return value should always be checked when invoking the method. The checker treats this annotation as inherited by overriding methods.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description Confidence
confidence
Deprecated.java.lang.String
explanation
Deprecated.A textual explanation of why the return value should be checkedPriority
priority
Deprecated.
-
-
-
Element Detail
-
priority
@Deprecated Priority priority
Deprecated.- Default:
- edu.umd.cs.findbugs.annotations.Priority.MEDIUM
-
-
-
confidence
Confidence confidence
Deprecated.- Default:
- edu.umd.cs.findbugs.annotations.Confidence.MEDIUM
-
-