Skip to content

Consider using @RestrictedApi annotation instead of run-time security checks #1587

Open
@alexander-yevsyukov

Description

@alexander-yevsyukov

Currently we check that certain parts of the API can be called only by the allowed classes or subpackages.

ErrorProne provides built-in support for such a protection.

Arguably, it's about the same level of protection because it's built-in into the code.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions