return null;
}
@Override
public Void visitClassDeclaration(ClassDeclaration node) {
ExtendsClause extendsClause = node.getExtendsClause();
WithClause withClause = node.getWithClause();
ImplementsClause implementsClause = node.getImplementsClause();
hasReferenceToSuper = false;
super.visitClassDeclaration(node);
ClassElementImpl classElement = getClassElement(node.getName());
InterfaceType superclassType = null;
if (extendsClause != null) {
ErrorCode errorCode = withClause == null ? CompileTimeErrorCode.EXTENDS_NON_CLASS
: CompileTimeErrorCode.MIXIN_WITH_NON_CLASS_SUPERCLASS;
superclassType = resolveType(
extendsClause.getSuperclass(),
errorCode,
CompileTimeErrorCode.EXTENDS_ENUM,
errorCode);
if (superclassType != getTypeProvider().getObjectType()) {
classElement.setValidMixin(false);