ObjectGraphBuilder.NewInstanceResolver (groovy 2.4.6 API)
Date: 2016-02-18

Package: groovy.util

## [Java] Interface NewInstanceResolver

- Strategy for creating new instances of a class.
  Useful for plug-in calls to non-default constructors.

- - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `Object` | `newInstance(Class klass, Map attributes)` Create a new instance of Class klass.

- - ### 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