Skip to content

[java] Full @SuppressWarnings support #1900

@jsotuyod

Description

@jsotuyod

We have this a little bit e.g. for rules, that check unused code - @SuppressWarnings("unused") suppresses e.g. the rules "UnusedPrivateField", "UnusedLocalVariable", "UnusedPrivateMethod", and "UnusedFormalParameter".
Adding more common known tags would make sense. e.g. the eclipse compiler lists the tags here: https://help.eclipse.org/2019-06/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Ftasks%2Ftask-suppress_warnings.htm

Rel #1899
See also #1927

Originally posted by @adangel in #659 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    an:enhancementAn improvement on existing features / rules

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions