anchor.diff:      });
       await processResources((ResolvedUnitResult result) async {
         _progressBar.tick();
  -      if (_migrationCli.shouldBeMigrated(context, result.path)) {
  +      if (_migrationCli.shouldBeMigrated(result.path)) {
           await _task.finalizeUnit(result);
         }
       });
  
positive.code:       String summaryPath,
        @required String sdkPath}) {
      return NonNullableFix(listener, resourceProvider, getLineInfo, bindAddress,
          logger, (String path) => shouldBeMigrated(null, path),
          included: included,
          preferredPort: preferredPort,
          summaryPath: summaryPath,
  
negative.code:   /// 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.
    bool shouldBeMigrated(String path) => shouldBeMigrated2(path);
  
    /// Determines whether a migrated version of the file at [path] should be
    /// output by the migration too.  May be overridden by a derived class.
  