docs: private PathAddress createAliasPathAddress(PathAddress pa) {
          ImmutableManagementResourceRegistration registry = registration.getParent();
          List<PathElement> elements = new ArrayList<>();
          for(int i = pa.size() - 1; i >=0; i--) {
              PathElement elt = pa.getElement(i);
              ImmutableManagementResourceRegistration childRegistration = registry.getSubModel(PathAddress.pathAddress(PathElement.pathElement(elt.getKey())));
              if(childRegistration == null) {
                  elements.add(elt);
              } else {
                  elements.add(PathElement.pathElement(elt.getKey(), "$" + elt.getKey()));
              }
              registry = registry.getParent();
          }
          Collections.reverse(elements);
          return PathAddress.pathAddress(elements.toArray(new PathElement[elements.size()]));
      }