Package: groovy.console

## [Groovy] Class TextTreeNodeMaker

- groovy.console.TextTreeNodeMaker

- All Implemented Interfaces and Traits:
    AstBrowserNodeMaker<TextNode>

      @CompileStatic
      class TextTreeNodeMaker
      extends Object
      implements AstBrowserNodeMaker<TextNode>

  Factory for the text nodes displayed by ASTBrowser.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `TextTreeNodeMaker()`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `TextNode` | `makeNode(Object userObject)` Creates a text node without additional metadata.
    `` | `TextNode` | `makeNodeWithProperties(Object userObject, List<List<?>> properties)` Creates a text node with additional metadata.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TextTreeNodeMaker()

  - ### Method Detail

    - #### TextNode makeNode(Object userObject)

      Creates a text node without additional metadata.

      Parameters:
        `userObject` - value displayed for the node
      Returns:
        the created text node

    - #### TextNode makeNodeWithProperties(Object userObject, List<List<?>> properties)

      Creates a text node with additional metadata.

      Parameters:
        `userObject` - value displayed for the node
        `properties` - metadata associated with the node
      Returns:
        the created text node