I want to use some of Google Guava methods and classes in my client-side GWT code, but I’m concerned about client code size. For example, if I use Strings.nullToEmpty method, does the entire Strings class get compiled or only the nullToEmpty method?
I want to use some of Google Guava methods and classes in my client-side
Share
In my experience, the GWT compiler compiles only those methods that can be called; since no runtime introspection is available, it can deduce the complete call-graph, and compile only those parts (and optimise it accordingly).