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

@Aspect put on something else than a class crashes the annotation processor. #33

Open
dvojtise opened this issue Jan 8, 2015 · 1 comment
Labels

Comments

@dvojtise
Copy link
Contributor

dvojtise commented Jan 8, 2015

Putting an annotation (@aspect or other) on the wrong content crashes the annotation processor. (typically with a ClassCastException) The resulting file is completly broken with many message that aren't user friendly.

It would be better to check that the annotation has been placed on the correct element before starting to process it and report a clear message.

@dvojtise dvojtise added the bug label Jan 8, 2015
@dvojtise
Copy link
Contributor Author

closed by mistake

@dvojtise dvojtise reopened this Jul 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant