Question re type information during annotation processing

Adrian Kuhn akuhn at
Fri Feb 1 19:51:08 PST 2008

Dear list,

Inspired by Sundararajan's empty catch block checker and a recent  
Ecoop paper, I have written a small processor that counts the use of  
exception types in catch and throw statements. Is there any other,  
more elegant way to initialize type information of tree nodes than  
getting an instance of Attr and calling attribClass() myself? This is  
internal stuff of the compiler, I would like to avoid that. Please  
find attached the source code of my compiler plugin.

-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 3569 bytes
Desc: not available
Url : 
-------------- next part --------------

NB we have also some more questions regarding the implementation of a  
new language feature, is this list the right place for this kind of  


Adrian Kuhn MSc
Software Composition Group
University of Bern, Switzerland (RSS)

More information about the compiler-dev mailing list