anchor.diff:    /// return additional paths that aren't inside the user's project, but doesn't
     /// override this method, then those additional paths will be analyzed but not
     /// migrated.
  +  ///
  +  /// Note: in a future version of the code, this method will be removed;
  +  /// clients that are overriding this method should switch to overriding
  +  /// [shouldBeMigrated] instead.
     bool shouldBeMigrated2(String path) {
       return analysisContext.contextRoot.isAnalyzed(path);
     }
  
positive.code:     });
      await processResources((ResolvedUnitResult result) async {
        _progressBar.tick();
        if (_migrationCli.shouldBeMigrated(context, result.path)) {
          await _task.finalizeUnit(result);
        }
      });
  
negative.code:       String summaryPath,
        @required String sdkPath}) {
      return NonNullableFix(listener, resourceProvider, getLineInfo, bindAddress,
          logger, (String path) => shouldBeMigrated(path),
          included: included,
          preferredPort: preferredPort,
          summaryPath: summaryPath,
  