code: public String getCurrentPathWith(final String literalName) {
          if (entityStack.size() == 0) {
              return literalName;
          }
          return getCurrentPath() + entitySeparator + literalName;
      }
docs: Returns the current entity path with the given literal name appended.
  
  @param literalName the literal name to append to the current entity path.
  Must not be null.
  @return the current entity path with the literal name appended. The {@link
  #getEntitySeparator()} is used to separate both unless no entity was
  received yet in which case only the literal name is returned.