| Modifier and Type | Method and Description |
|---|---|
| public < Type to instantiate T> ObjectInstantiator | Returns: Instantiator dedicated to the classClass to instantiate clazz)Will pick the best instantiator for the provided class. |
| public < Type instantiated T> T | Returns: New instance of clazzClass to instantiate clazz)Will create a new object without any constructor being called |
| getInstantiatorOf | back to summary |
|---|---|
| public <T> ObjectInstantiator Will pick the best instantiator for the provided class. If you need to create a lot of
instances from the same class, it is way more efficient to create them from the same
ObjectInstantiator than calling
| |
| newInstance | back to summary |
|---|---|
| public <T> T newInstance(Class<T> clazz) Will create a new object without any constructor being called
| |