if (c == null) {
// exit in case something drastic went wrong during enter.
result = null;
} else {
// make sure class has been completed:
c.complete();
// Ceylon: For Ceylon, this code moved to Enter.visitClassDef so that it is available to it,
// because that method is called before we set it here.
if(!sourceLanguage.isCeylon()){
// If this class appears as an anonymous class