anchor.diff:          metadataCode = "null";
         }
   
  -      String staticGettersCode = formatMap([
  +      String staticGettersCode = formatAsMap([
           classDomain.declaredMethods
               .where((ExecutableElement element) => element.isStatic),
           classDomain.declaredAndImplicitAccessors.where(
  
positive.code:       if (classDomain.classElement.isAbstract) {
          constructorsCode = '{}';
        } else {
          constructorsCode = formatMap(classDomain.constructors
              .map((ConstructorElement constructor) {
            return '"${constructor.name}": ${constructorCode(constructor)}';
          }));
  
negative.code:         return members.indexOf(element) + fieldsLength;
        });
  
        List<int> declarationsIndices = <int>[]
          ..addAll(fieldsIndices)
          ..addAll(methodsIndices);
        String declarationsCode = formatAsList(declarationsIndices);
  
        // All instance members belong to the behavioral interface, so they
        // also get an offset of `fields.length`.
        String instanceMembersCode = formatAsList(classDomain.instanceMembers
            .map((ExecutableElement element) {
          return members.indexOf(element) + fieldsLength;
        }));
  