TypeBinding typeBinding = cud.scope.getType(compoundName,
compoundName.length);
if (typeBinding == null) {
GWTProblem.recordError(rescue, cud, notFound(className), null);
} else if (typeBinding instanceof ProblemReferenceBinding) {
ProblemReferenceBinding problem = (ProblemReferenceBinding) typeBinding;
if (problem.problemId() == ProblemReasons.NotVisible) {
// Ignore
} else if (problem.problemId() == ProblemReasons.NotFound) {
GWTProblem.recordError(rescue, cud, notFound(className), null);
} else {
GWTProblem.recordError(rescue, cud,
unknownProblem(className, problem), null);
}