Skip to content

Verify unused #11631

Open
Open
@som-snytt

Description

@som-snytt

It would be nice if -Xlint also verified that an element annotated unused is in fact unused.

Currently it's just an exemption from the unused warning.

Probably it's not necessary to add an option, -Xlint:used for this case, although the LOL factor is tempting.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions