DefaultClassInstantiator, ObjenesisClassInstantiatorpublic interface IClassInstantiator
| Modifier and Type | Method | Description |
|---|---|---|
Object |
newInstance(Class<?> clazz) |
Return a new instance of the specified class.
|
Object newInstance(Class<?> clazz) throws InstantiationException
ObjectInputStream.readObject() which is JVM specific.clazz - class to instantiateInstantiationException - when an error occured during instantiationCopyright © 2001–2018 EasyMock contributors. All rights reserved.