docs: final PathEntry addPathEntry(final String pathName, final String path, final String relativeTo, final boolean readOnly) {
          PathEntry pathEntry;
          synchronized (pathEntries) {
              if (pathEntries.containsKey(pathName)) {
                  throw ControllerLogger.ROOT_LOGGER.pathEntryAlreadyExists(pathName);
              }
              pathEntry = new PathEntry(pathName, path, relativeTo, readOnly, relativeTo == null ? absoluteResolver : relativeResolver);
              pathEntries.put(pathName, pathEntry);
  
              if (relativeTo != null) {
                  addDependent(pathName, relativeTo);
              }
          }
          triggerCallbacksForEvent(pathEntry, Event.ADDED);
          return pathEntry;
      }