Package: groovy.util

## [Java] Class ObjectGraphBuilder.DefaultNewInstanceResolver

- groovy.util.ObjectGraphBuilder.DefaultNewInstanceResolver

- All Implemented Interfaces and Traits:
    ObjectGraphBuilder.NewInstanceResolver

      public static class ObjectGraphBuilder.DefaultNewInstanceResolver
      extends Object
      implements ObjectGraphBuilder.NewInstanceResolver

  Default impl that calls Class.newInstance()

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public Object` | `newInstance(Class klass, Map attributes)` * Create a new instance of Class klass. * * Parameters: `klass` - the resolved class name * `attributes` - the attribute Map available for the node

  - ### Inherited Methods Summary

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

- - ### Method Detail

    - #### public Object newInstance(Class klass, Map attributes)

      * Create a new instance of Class klass. * *

      Parameters:
        `klass` - the resolved class name *
        `attributes` - the attribute Map available for the node