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)
IClassInstantiator
ObjectInputStream.readObject()
which is JVM specific.newInstance
in interface IClassInstantiator
clazz
- class to instantiateCopyright © 2001–2022 EasyMock contributors. All rights reserved.