This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.



Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Any way to tell GWT not to translate a method in a class ?  RSS feed

 
Adi Vicks
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My client is using a class which has member variables that I need , but also there are some other methods that I don't need to use. But GWT complains as those methods uses other dependency classes , and it asks me to provide source for those dependency classes as well.

So I am wondering if there is a way to tell GWT to translate a class but don't translate some of its methods. Something similar to @Transient in hibernate.

 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't think thats possible.
Why not just move these methods to some other class, or provide the source code.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!