anchor.diff:          _addAll(exports['classes'],
               dart2js_util.typesOf(export.targetLibrary.declarations));
           _addAll(exports['methods'],
  -            dart2js_util.methodsOf(export.targetLibrary.declarations));
  +            export.targetLibrary.declarations.values.where(
  +                (mirror) => mirror is MethodMirror));
           _addAll(exports['variables'],
               dart2js_util.variablesOf(export.targetLibrary.declarations));
         }
  
positive.code:       }
      }
      var domAnnotation = this.annotations.firstWhere(
          (e) => e.mirror.qualifiedName == 'metadata.DomName',
          orElse: () => null);
      if (domAnnotation == null) return '';
      var domName = domAnnotation.parameters.single;
  
negative.code:         }
      });
      this.functions = _createMethods(_addAll(exported['methods'],
          libraryMirror.declarations.values.where(
              (mirror) => mirror is MethodMirror)).values, this);
      this.variables = _createVariables(_addAll(exported['variables'],
          dart2js_util.variablesOf(libraryMirror.declarations)).values, this);
    }
  