if (version.startsWith("1.5"))
{
// do something the 1.5.* way
}
Is actually kind of a bad idea. Ideally you should use absolute string values here, because the GWT compiler will evaluate equality and trim unreachable code inside an if conditional from the compiled output. Using .startsWith means that all the code will end up in the final application.
Unfortunately GWT version is not a compile time property. Perhaps the best way to do it would be to create an empty Generator implementation that just returns "ClassName15" or "ClassName17" from a call in your module for "ClassName". You can then, at compile time, call About.version() from the generator and find out what the version is at compile time.