anchor.diff:        }
         return options.showSdkWarnings;
       }
  -    if (source.uri.scheme == 'package') {
  +    if (_isOtherPackage(source.uri)) {
         return options.showPackageWarnings;
       }
       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:     {
        UriKind uriKind = library.source.uriKind;
        // Optionally skip package: libraries.
        if (!options.showPackageWarnings && _isOtherPackage(library.source.uri)) {
          return;
        }
        // Optionally skip SDK libraries.
  