Yes it will remove methods and classes that are not used. If you compile
with the option -compileReport it will generate a soyc report that shows
you all the code that is included in your project.
On Thursday, June 21, 2012 4:17:53 PM UTC-4, Carsten wrote:
>
> Hi,
>
> I was wondering how well the GWT compiler is able to remove unused parts?
> Can it even remove methods and fields from a class which are never used?
>
> Example:
>
> VeryComplexObject vco = null;
>
> initVCO() {
> ...
> };
>
> If initVCO is never called from my code, will the GWT compiler remove the
> method initVCO(), the field vco, or even the VeryComplexObject class itself?
>
> Can I somehow check what the GWT compiler removed and what not? Is there a
> log which lists removed parts?
>
> Thanks,
> Carsten
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/b5ni_b6w0hwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.