Saturday, June 21, 2014

Re: Use of reflection inside generator

Great, thanks :)

I still need to find time to look at IncrementalGenerator. Currently, I'm using GeneratorContext.tryCreate() and if it returns null, I'm not generating the class.

What do you mean by global information ? 

Le samedi 21 juin 2014 18:31:47 UTC+2, Jens a écrit :
I don't think reflection will cause issues. I am pretty sure GIN generators also use reflection to call into Guice and execute the GinModule. GWT generators run in a JVM so you can use whatever you want.

Just make sure its an IncrementalGenerator so you can cache results and try to avoid global information to avoid slowdowns in SuperDevMode.

-- 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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment