k3 icon indicating copy to clipboard operation
k3 copied to clipboard

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

Open dvojtise opened this issue 10 years ago • 1 comments

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 avatar Jan 08 '15 10:01 dvojtise