edu.umd.cs.findbugs.annotations
Annotation Type CheckReturnValue


@Documented
@Target(value={METHOD,CONSTRUCTOR})
@Retention(value=CLASS)
public @interface CheckReturnValue

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
 java.lang.String explanation
          A textual explaination of why the return value should be checked
 Priority priority
           
 

priority

public abstract Priority priority
Default:
MEDIUM

explanation

public abstract java.lang.String explanation
A textual explaination of why the return value should be checked

Default:
""