InstantiatorProvider2.
Use Instantiator instead.
Provides instances of classes.
@Deprecated public interface Instantiator
| Modifier and Type | Method and Description |
|---|---|
<T> T |
newInstance(Class<T> cls)
Deprecated.
Creates instance of given class
|
<T> T newInstance(Class<T> cls) throws InstantiationException
InstantiationExceptionCopyright © 2024. All rights reserved.