Not sure if those using Eclipse/Java 5+ have realized that you can add
@SuppressWarnings("all")
as the last line in your
@parser::header and @lexer::header blocks to suppress the Generics
warnings that abound otherwise harmlessly in the Antlr generated code.