if (rawType.getName().endsWith("Async")) {
try {
this.clazzToInstanciate = GwtReflectionUtils.getClass(rawType.getName().substring(0,
rawType.getName().length() - 5));
} catch (ClassNotFoundException e) {
throw new GwtTestPatchException(
"Error while trying to create a Guice provider for injector '"
+ ginInjectorClass.getName() + "'", e);
}
} else {
this.clazzToInstanciate = rawType;