miguel01997 / cookcc

Automatically exported from code.google.com/p/cookcc
Other
0 stars 1 forks source link

Add @SuppressWarnings ("unchecked") automatically for yyParse() #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Some calls to user defined java functions are through generic parameters.  
Thus, it is necessary to do the casting involving generics.  Adding  
@SuppressWarnings ("unchecked") would avoid compiler warnings on unchecked 
casting.  However, there are cases where such annotation is unnecessary, and 
generate the other kind of warning in ECJ compiler.

So we needed to find a way to add this annotation automatically.

Original issue reported on code.google.com by superdup...@gmail.com on 16 Mar 2012 at 7:04

GoogleCodeExporter commented 9 years ago
See r740

Original comment by superdup...@gmail.com on 16 Mar 2012 at 7:10