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
InstantiationException
Copyright © 2023. All rights reserved.