Skip to content

Enforce @TargetLocations annotation #1919

@mernst

Description

@mernst

If qualifier Q has a @TargetLocations meta-annotation and the programmer writes @Q at any location that is not listed in Q's @TargetLocations meta-annotation, then the Checker Framework should issue a warning. This warning may be suppressed (say, for making default annotations explicit in test cases).

(Issue ported from #515 which had become cluttered with other discussion.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions