ReturnMissingNullable
Methods that can return null should be annotated @Nullable

Category
Severity
SUGGESTION
Maturity

The problem

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

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


Not this:

```java {.bad}
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.