Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

insert-annotations-to-source should take Target meta-annotation into account #122

@dbrosoft

Description

@dbrosoft

insert-annotations-to-source should issue a warning and decline to insert an annotation if the requested insertion location is not in the set indicated in the @Target meta-annotation on the annotation's definition, or in the default set if there is no explicit @Target. In particular, if the annotation's definition is annotated with @Target({}), it should not be inserted anywhere in the source.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions