anchor.diff:  import 'package:analyzer/dart/element/type.dart';
   
   import '../analyzer.dart';
  -import '../extensions.dart';
   
   const _desc =
       r'Prefer defining constructors instead of static methods to create instances.';
  
positive.code:       NodeLintRegistry registry, LinterContext context) {
      var visitor = _Visitor(this, context);
      registry.addMethodDeclaration(this, visitor);
    }
  }
  
  
negative.code: ```
  ''';
  
  bool _hasNewInvocation(DartType returnType, FunctionBody body) =>
      _BodyVisitor(returnType).containsInstanceCreation(body);
  
  class PreferConstructorsInsteadOfStaticMethods extends LintRule {
    PreferConstructorsInsteadOfStaticMethods()
  