code: private void logNodeTypes(final NodeType... nodeTypes) {
  
          if(LOG.isDebugEnabled()){
              StringBuilder buf = new StringBuilder(32);
              buf.append("[\n");
              for(NodeType nt : nodeTypes){
                  buf.append(nt.getName()).append(" > ");
                  for(NodeType st : nt.getSupertypes()){
                      buf.append(st.getName()).append(", ");
                  }
                  buf.append('\n');
                  for(PropertyDefinition pd : nt.getPropertyDefinitions()){
                      buf.append("\t").append(pd.getName()).append(" (")
                         .append(PropertyType.nameFromValue(pd.getRequiredType()))
                         .append(")\n");
                  }
              }
              buf.append(']');
              LOG.debug("Registered NodeTypes: {}",buf.toString());
          }
      }
docs: Helper method to logs a list of node types and their properties in a human readable way.
  @param nodeTypes
  the node types to be logged.