public class ObjenesisClassInstantiator extends Object implements IClassInstantiator
| Constructor and Description |
|---|
ObjenesisClassInstantiator() |
| Modifier and Type | Method and Description |
|---|---|
Object |
newInstance(Class<?> clazz)
Return a new instance of the specified class.
|
public Object newInstance(Class<?> clazz) throws InstantiationException
IClassInstantiatorObjectInputStream.readObject() which is JVM specific.newInstance in interface IClassInstantiatorclazz - class to instantiateInstantiationException - when an error occured during instantiationCopyright © 2010–2018 EasyMock contributors. All rights reserved.