Tuesday November 07, 2006
Joseph D. Darcy's Sun WeblogJoseph D. Darcy's Sun Weblog JSR 269 Passes Final Approval Ballot The votes are in and JSR 269 has passed its final approval ballot! Now that the initial JSR 269 API is defined, I'm looking forward to using the API for various meta-programming tasks, like writing coding convention checkers and incrementally refining the API in JDK 7. (2006-11-07 23:50:28.0) Permalink Comments [3]Post a Comment: Comments are closed for this entry. |
Calendar
RSS Feeds
All /Annotation Processing /General /Java /JavaOne /Numerics /OpenJDK SearchLinks
NavigationReferersToday's Page Hits: 293 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Posted by Manabu Nakamura on November 08, 2006 at 03:42 AM PST #
The standardized version of the API does not support operating on local and anonymous classes; although those classes can be modeled using the standard API.
However, using the com.sun.source.tree API in JDK 6, those kinds of classes can be processed. For an example of how to use the tree API in this fashion, see some of the tests in the open source javac project's test/tools/javac/api directory, in particular TestOperators.java: https://openjdk.dev.java.net/source/browse/openjdk/compiler/trunk/test/tools/javac/api/TestOperators.java
Posted by Joe Darcy on November 13, 2006 at 01:56 PM PST #
Posted by Manabu Nakamura on November 14, 2006 at 11:19 PM PST #