anchor.diff:      if (computeSeverity(error, options.enableTypeChecks) ==
               ErrorSeverity.INFO &&
           options.disableHints) {
  +      return false;
  +    }
  +    return true;
  +  }
  +
  +  /**
  +   * Determine whether the given URI refers to a package other than the package
  +   * being analyzed.
  +   */
  +  bool _isOtherPackage(Uri uri) {
  +    if (uri.scheme != 'package') {
  +      return false;
  +    }
  +    if (_selfPackageName != null &&
  +        uri.pathSegments.length > 0 &&
  +        uri.pathSegments[0] == _selfPackageName) {
         return false;
       }
       return true;
  
positive.code:   /// [HashMap] between sources and analysis error infos.
    final HashMap<Source, AnalysisErrorInfo> sourceErrorsMap =
        new HashMap<Source, AnalysisErrorInfo>();
  
    AnalyzerImpl(String sourcePath, this.options, this.startTime, this.isBatch)
        : sourcePath = _normalizeSourcePath(sourcePath) {
  
negative.code:       }
        return options.showSdkWarnings;
      }
      if (_isOtherPackage(source.uri)) {
        return options.showPackageWarnings;
      }
      return true;
  