Skip to content

Confusing example for @SuppressWarnings syntax #7243

@pzygielo

Description

@pzygielo

https://checkerframework.org/manual/#suppresswarnings-annotation-syntax

While

Image

\code{"assignment"}, you could use
\<@SuppressWarnings("assignment")>,
\<@SuppressWarnings("assignment.type")>,
\<@SuppressWarnings("type.incompatible")>, or other variants.

still might be true, I find it hard to see relation assignment - type.incompatible. Searching for type.incompatible on the page does not find assignment.type.incompatible that was here before 5c04d68 and made (more) sense then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions