code: static String getGlobalName(Export export) {
      if (export.moduleMetadata().isEs6Module()) {
        if (export.localName().equals(Export.DEFAULT_EXPORT_NAME)) {
          return getGlobalNameOfAnonymousDefaultExport(export.moduleMetadata());
        }
        return getGlobalNameOfEsModuleLocalVariable(export.moduleMetadata(), export.localName());
      }
      return getGlobalName(export.moduleMetadata(), export.closureNamespace())
          + "."
          + export.exportName();
    }
docs: Returns the post-transpilation, globalized name of the export.