资 源 简 介
The main idea of this project is to add some preprocessing for java code before it will be compiled into javascript by GWT compiller. GWT preprocessor adds all necessary metadata to classes you point and replaces all reflection calls with own ones so you can implicitly use reflection API implementation by referring to standard java classes.
Quick Start
Download binary jar file and documentation ZIP archive.
Place binary file in your classpath.
Replace your GWT compiler main class with org.hawk.gwt.ppc.CompilerWrapper. Note that standard GWT compiler should be accessible in your classpath.
All GWT arguments left the same. If you want to use Java reflection API you may add argument -Preflect=`[`package pattern to be allowed to be reflected`]`. E.g following argument-Preflect=com.google.gwt.user.client.ui.* will allow you to create all User module classes with reflection API.
Enjoy.