RestrictedApi
Check for non-allowlisted callers to RestrictedApiChecker.

Severity
ERROR

The problem

Calls to APIs marked @RestrictedApi are prohibited without a corresponding allowlist annotation.

Suppression

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