ValidationResult result = super.validateSimpleType(simpleType);
if (!isGWTTransient(simpleType)) {
if ((this.enforceNamespaceConformance)
&& (!simpleType.getPackage().getQualifiedName().startsWith(this.gwtModuleNamespace))
&& (!isKnownGwtType(simpleType))) {
result.addError(simpleType, String.format("The package of the simple type, %s, must start with the GWT module namespace, %s.", simpleType.getPackage().getQualifiedName(), gwtModuleNamespace));
}
if (!hasDefaultConstructor(simpleType)) {
result.addError(simpleType, "The mapping from GWT to JAXB requires a public no-arg constructor.");
}