public interface IClassInstantiator
| Modifier and Type | Method and 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–2024 EasyMock contributors. All rights reserved.