|
|
Writing a Java Annotation Processor for Eclipse
Gary Horen's Blog |
March 6, 2007 1:31 PM
|
Comments (0)
Jess Garms, Walter Harley, and I gave a short tutorial at Eclipsecon yesterday (Monday) morning about processing JSR 175 annotations in Eclipse. Although the API is binary compatible between the two, it turns out that an annotation processor written to run in the command line container (i.e. APT in Java 5, javac in Java 6) won't always behave well when it runs inside the IDE (as an extension of the interactive Eclipse compiler). This tutorial was an introduction to the annotation processing API, as well as a distillation of best practices and design principles harvested from our experiences at BEA in the past couple of years, adding this API to Eclipse, and helping people use it. The presentation materials, including slides, coding exercises and solutions, and other sample code, are all available here (click on the Presentation File link at the top). We plan to publish a more detailed dev2dev article on this topic soon.
Comments
Comments are listed in date ascending order (oldest first) | Post Comment
|
|