Can you use Java Reflection api in GWT client

前端 未结 6 1587
故里飘歌
故里飘歌 2020-12-08 19:58

IS it possible to use the java reflection api in GWT client side? I want to use reflections to find the value of a property on a Javabean. Is this possible?

6条回答
  •  醉酒成梦
    2020-12-08 20:44

    Since GWT code is translated to Javascript direct usage of reflection API is not supported.

    There is a small project GWT-Reflection, that allows to use reflection in GWT.

提交回复
热议问题