Skip to content

Adopt @RestrictedApi annotation #588

@alexander-yevsyukov

Description

@alexander-yevsyukov

ErrorProne provides the RestrictedApi annotation which allows to control who calls the annotated part of an API.

We can use it in addition or even instead of run-time checks we currently have. Since this is compile-time check we can gain a slightly better performance because we won't analyze the stack.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceMaking things go easier and faster

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions