ReturnMissingNullable
Methods that can return null should be annotated @Nullable

Severity
SUGGESTION
Has Fix?

The problem

Methods that may return null should be annotated with @Nullable. For example, do this:

public class Foo {
  @Nullable private String message = null;
  @Nullable public String getMessage() {
    return message;
  }
}

Not this:

public class Foo {
  private String message = null;
  public String getMessage() {
    return message;
  }
}

Suppression

Suppress false positives by adding the suppression annotation @SuppressWarnings("ReturnMissingNullable") to the enclosing element.