Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dbrosoft opened this issue May 26, 2016 · 0 comments
Milestone

Comments

@dbrosoft
Copy link
Contributor

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.

@mernst mernst added this to the Medium milestone Nov 30, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants