Android APIs
public abstract @interface

CheckResult

implements Annotation
android.support.annotation.CheckResult

Class Overview

Denotes that the annotated method returns a result that it typically is an error to ignore. This is usually used for methods that have no side effect, so calling it without actually looking at the result usually means the developer has misunderstood what the method does.

Example:

public @CheckResult String trim(String s) { return s.trim(); 
  ...
  s.trim(); // this is probably an error
  s = s.trim(); // ok
 }

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation