[antlr-interest] Generated classes - annotations
Sam Barnett-Cormack
s.barnett-cormack at lancaster.ac.uk
Sat Aug 1 13:32:54 PDT 2009
Hey all,
similar to previous discussions of doc-comments reaching the generated
classes, it'd be *really* nice if it were possible to annotate the
generated classes. Specifically, adding @SuppressWarnings("all") would
be lovely, as the generated code produces so many warnings (dead code,
unused local variables, unused imports...).
If there were just something, akin to @header, that appeared between the
antlr-generated imports and the actual class, that would do the trick -
for doc-comments (of the class) and for annotations.
Just a thought.
--
Sam Barnett-Cormack
More information about the antlr-interest
mailing list