I'am working on the Injection framework of PWT, it's gonna be awesome.
How can it be more awesome than Dagger 2.0 or Gin?
But actually I am facing a big question:Is there any way to rebind with a generator a class without implementing any interface or extending any parent class?
At some point the developer must be able to call Blah b = GWT.create(Blah.class) to trigger GWT generators which only works if he/she has an interface or super class available.
My goal is to rebind classes containing some annotions, and if no annotations are found generate or rebind the class with the others generators.
I guess you have to live with the above or try using annotation processors instead of GWT generators.
-- J.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment