docs: private static boolean mergeResRefs(ComponentNameSpaceConfiguration masterCompNSConfig,
                                          List<ComponentNameSpaceConfiguration> compNSConfigs,
                                          Map<String, ResourceRefConfig[]> totalResRefs) {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isDebugEnabled())
              Tr.entry(tc, "mergeResRefs");
  
          ResourceRefConfigList resRefList = InternalInjectionEngineAccessor.getInstance().createResourceRefConfigList();
          masterCompNSConfig.setResourceRefConfigList(resRefList);
  
          List<ResourceRefConfig.MergeConflict> conflicts = new ArrayList<ResourceRefConfig.MergeConflict>();
          for (Map.Entry<String, ResourceRefConfig[]> entry : totalResRefs.entrySet()) {
              ResourceRefConfig mergedResRef = resRefList.findOrAddByName(entry.getKey());
              mergedResRef.mergeBindingsAndExtensions(entry.getValue(), conflicts);
          }
  
          boolean success = conflicts.isEmpty();
          if (!success) {
              for (ResourceRefConfig.MergeConflict conflict : conflicts) {
                  Tr.error(tc, "CONFLICTING_REFERENCES_CWNEN0062E",
                           compNSConfigs.get(conflict.getIndex1()).getDisplayName(),
                           compNSConfigs.get(conflict.getIndex2()).getDisplayName(),
                           masterCompNSConfig.getModuleName(),
                           masterCompNSConfig.getApplicationName(),
                           conflict.getAttributeName(),
                           conflict.getResourceRefConfig().getName(),
                           conflict.getValue1(),
                           conflict.getValue2());
              }
          }
  
          if (isTraceOn && tc.isDebugEnabled())
              Tr.exit(tc, "mergeResRefs: " + success);
          return success;
      }