anchor.diff:      var exported = _calcExportedItems(libraryMirror);
       _createClasses(exported['classes']..addAll(libraryMirror.classes));
       this.functions = _createMethods(
  -        exported['methods']..addAll(libraryMirror.functions));
  +        exported['methods']..addAll(libraryMirror.functions), this);
       this.variables = _createVariables(
  -        exported['variables']..addAll(libraryMirror.variables));
  +        exported['variables']..addAll(libraryMirror.variables), this);
   
       var exportedVariables = {};
       variables.forEach((key, value) {
  
positive.code:   ExportedMethod(MethodMirror originalMethod, Library this._exportingLibrary) :
        super(originalMethod);
  
    String get fileName => '${_exportingLibrary.packageName}/' +
        super.fileName.substring(packagePrefix.length);
  
    void updateExports(Map<String, Indexable> libraryExports) {
      // TODO(efortuna): if this class points to another exported class or type
  
negative.code:   }
  
    /// Returns a map of [Variable] objects constructed from [mirrorMap].
    /// The optional parameter [containingLibrary] is contains data for variables
    /// defined at the top level of a library (potentially for exporting
    /// purposes).
    Map<String, Variable> _createVariables(Map<String,
        VariableMirror> mirrorMap, [Library containingLibrary]) {
      var data = {};
      // TODO(janicejl): When map to map feature is created, replace the below
      // with a filter. Issue(#9590).
      mirrorMap.forEach((String mirrorName, VariableMirror mirror) {
        if (_includePrivate || !_isHidden(mirror)) {
          if (containingLibrary != null && mirror.owner.qualifiedName !=
              containingLibrary.mirror.qualifiedName) {
            entityMap[docName(mirror)] = new ExportedVariable(mirrorName, mirror,
                containingLibrary);
          } else {
            entityMap[docName(mirror)] = new Variable(mirrorName, mirror);
          }
          data[mirrorName] = entityMap[docName(mirror)];
        }
      });
  