IClassInstantiatorpublic class ObjenesisClassInstantiator extends java.lang.Object implements IClassInstantiator
| Constructor | Description |
|---|---|
ObjenesisClassInstantiator() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
newInstance(java.lang.Class<?> clazz) |
Return a new instance of the specified class.
|
public java.lang.Object newInstance(java.lang.Class<?> clazz)
throws java.lang.InstantiationException
IClassInstantiatorObjectInputStream.readObject() which is JVM specific.newInstance in interface IClassInstantiatorclazz - class to instantiatejava.lang.InstantiationException - when an error occured during instantiationCopyright © 2001-2019 EasyMock contributors. This documentation is provided under the terms of the Apache 2 licence.