anchor.diff:      registry.addClassTypeAlias(this, visitor);
       registry.addFunctionTypeAlias(this, visitor);
     }
  -
  -  @override
  -  void visit(DartProject project) {
  -    this.project = project;
  -  }
   }
   
   class _Visitor extends GeneralizingAstVisitor {
  
positive.code: import 'package:analyzer/dart/ast/visitor.dart';
  
  import '../analyzer.dart';
  import '../ast.dart';
  
  const _desc = r'Provide doc comments for all public APIs.';
  
  
negative.code: 
    _Visitor(this.rule);
  
    // ignore: prefer_expression_function_bodies
    void check(Declaration node) {
      // See: https://github.com/dart-lang/linter/issues/3395
      // (`DartProject` removal).
      return;
  
      // // If no project info is set, bail early.
      // // https://github.com/dart-lang/linter/issues/154
      // var currentProject = rule.project;
      // if (currentProject == null) {
      //   return;
      // }
      //
      // var declaredElement = node.declaredElement;
      // if (declaredElement != null && currentProject.isApi(declaredElement)) {
      //   if (node.documentationComment == null) {
      //     rule.reportLint(getNodeToAnnotate(node));
      //   }
      // }
    }
  
    ///  classMember ::=
  