Skip to content

Should immutable collection classes be annotated like @Immutable(containerOf = "E")? #3165

Open

Description

Should immutable collection, map, etc. classes be annotated like the following?

@com.google.errorprone.annotations.Immutable(containerOf = "E")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions