public interface Instantiator
Modifier and Type | Method and Description |
---|---|
<T> T |
instantiate(Class<T> clazz)
Create a new instance of a class
|
boolean |
isAvailable()
Used for checking if this particular instantiation method is available in the environment
|
boolean isAvailable()
<T> T instantiate(Class<T> clazz)
T
- The type of the classclazz
- The classCopyright © 2016. All rights reserved.