Top Description Methods
edu.umd.cs.findbugs.annotations

public @Interface CheckReturnValue

extends Annotation
Annotations
@Documented
@Target:METHOD, CONSTRUCTOR
@Retention:CLASS
Imports
java.lang.annotation.Documented, .ElementType, .Retention, .RetentionPolicy, .Target

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.

Method Summary

Modifier and TypeMethod and Description
public Confidence
public String
explanation()

A textual explanation of why the return value should be checked

public Priority
priority()

Deprecated
Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

confidenceback to summary
public Confidence confidence()
explanationback to summary
public String explanation()

A textual explanation of why the return value should be checked

priorityback to summary
public Priority priority()

Deprecated

Annotations
@Deprecated