首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 反射执行for GWT

反射执行for GWT

  • 资源大小:239.86 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:1次
  • 资源积分:1积分
  • 标      签: 执行 反射

资 源 简 介

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.

文 件 列 表

examples
src
build.xml
pom.xml
maven
src
src
org
license.txt

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP