Chapter 14. Automatically generating new code
This chapter covers
Overview of GWT generators
Writing custom generators
Accessing input and context
Using introspection
Everything we’ve done so far has involved you, as a developer, writing GWT Java code for your application. But you can do more with GWT. Is your ideal development project one that includes sitting back with your feet up and letting a tool write the code for you? With GWT, your dreams are about to come true—almost. Using GWT generators, it’s possible, at compile time, to take an existing interface or class (a type) and automatically generate a brand-new type. This new type could implement the input interface or extend the input class, giving new functionality to your applications. The ...
Get GWT in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.