anchor.diff:    }
   }
   
  +/// The names of the libraries that can be accessed with a 'dart:x' import uri.
  +Set<String> sdkLibraryNames = new Set.from([
  +  "async",
  +  "collection",
  +  "convert",
  +  "core",
  +  "developer",
  +  "html",
  +  "indexed_db",
  +  "io",
  +  "isolate",
  +  "js",
  +  "math",
  +  "mirrors",
  +  "profiler",
  +  "svg",
  +  "typed_data",
  +  "web_audio",
  +  "web_gl",
  +  "web_sql"
  +]);
  +
   /// Returns a String with the code used to build the metadata of [element].
  -String _extractMetadataCode(
  -    Element element, Resolver resolver, _ImportCollector importCollector) {
  +///
  +/// Also adds any neccessary imports to [importCollector].
  +String _extractMetadataCode(Element element, Resolver resolver,
  +    _ImportCollector importCollector, TransformLogger logger, AssetId dataId) {
     Iterable<ElementAnnotation> elementAnnotations = element.metadata;
   
     if (elementAnnotations == null) return "[]";
  
positive.code:   for (Annotation annotationNode in annotatedNode.metadata) {
      // TODO(sigurdm): Emit a warning/error if the element is not in the global
      // public scope of the library.
      importCollector._addLibrary(annotationNode.element.library);
      String prefix = importCollector._getPrefix(annotationNode.element.library);
      if (annotationNode.arguments != null) {
        // A const constructor.
        String constructor = (annotationNode.constructorName == null)
  
negative.code:       int ownerIndex = classes.indexOf(element.enclosingElement);
        String metadataCode;
        if (_capabilities._supportsMetadata) {
          metadataCode = _extractMetadataCode(
              element, resolver, importCollector, logger, dataId);
        } else {
          metadataCode = null;
        }
  