Package: groovy.console.ui

## [Groovy] Interface AstBrowserNodeMaker<T>

-     @CompileStatic
      interface AstBrowserNodeMaker<T>

  This interface is used to create tree nodes of various types

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `abstract T` | `makeNode(Object userObject)` Creates a node for the supplied user object.
    `` | `abstract T` | `makeNodeWithProperties(Object userObject, List<List<?>> properties)` Creates a node for the supplied user object and metadata.

- - ### Method Detail

    - #### abstract T makeNode(Object userObject)

      Creates a node for the supplied user object.

      Parameters:
        `userObject` - value shown for the node
      Returns:
        the created node

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

      Creates a node for the supplied user object and metadata.

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