// The base class reference might be ambiguous.
IDefinition foundDefinition = baseClassReference.resolve(project, (ASScope)classDefinition.getContainingScope(), DependencyType.INHERITANCE, true);
if ( AmbiguousDefinition.isAmbiguous(foundDefinition))
problems.add(new AmbiguousReferenceProblem(problemNode, baseClassReferenceName));
else
problems.add(new UnknownSuperclassProblem(problemNode, baseClassReferenceName));
// Repair by making the class extend Object.
superclassDefinition = getObjectDefinition(project);
}
else if (superclassDefinition instanceof IInterfaceDefinition)