CompileTimeErrorCode.BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME);
ClassElement outerClassElement = enclosingClass;
try {
enclosingClass = node.getElement();
ImplementsClause implementsClause = node.getImplementsClause();
// Only check for all of the inheritance logic around clauses if there isn't an error code
// such as "Cannot extend double" already on the class.
if (!checkForExtendsDisallowedClassInTypeAlias(node)
&& !checkForImplementsDisallowedClass(implementsClause)
&& !checkForAllMixinErrorCodes(node.getWithClause())) {