NonApiType
Certain types should not be passed across API boundaries.

Severity
WARNING

The problem

Flags instances of non-API types from being accepted or returned in public APIs.

What it flags

Why

Suppression

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