Friday, February 04, 2005

More on using apt

The ServerSide has a news article on a new JSR from Sun for addressing shortcomings in writing annotation processors. This is a topic which interests me, and it is clear that annotation processors as they exist right now are ungainly beasts. I look forward to Sun and the JSR process fixing this.

At a minimum, I'd like to know from within an annotation processor just what are the boundaries of a method. Right now the processor knows the textual start of a method in the source file, but that is it. Best would be an AST for the method, permitting me to rewrite the method and emit that from the processor. I can dream.

Post a Comment