docs: public AstNode node( String name,
                           AstNode parent,
                           Object... types ) {
          CheckArg.isNotNull(name, "name");
          CheckArg.isNotNull(parent, "parent");
          CheckArg.isNotEmpty(types, "types");
  
          AstNode node = new AstNode(parent, name);
          node.setProperty(JCR_MIXIN_TYPES, types);
          node.setProperty(JCR_PRIMARY_TYPE, NT_UNSTRUCTURED);
          return node;
      }