code: public List<PathAddressTransformer> getPathTransformations(final PathAddress address, PlaceholderResolver placeholderResolver) {
          final List<PathAddressTransformer> list = new ArrayList<PathAddressTransformer>();
          final Iterator<PathElement> iterator = address.iterator();
          resolvePathTransformers(iterator, list, placeholderResolver);
          if(iterator.hasNext()) {
              while(iterator.hasNext()) {
                  iterator.next();
                  list.add(PathAddressTransformer.DEFAULT);
              }
          }
          return list;
      }
docs: Get a list of path transformers for a given address.
  
  @param address the path address
  @param placeholderResolver a placeholder resolver used to resolve children of a placeholder registration
  @return a list of path transformations