public class UnsafeInstantiator extends java.lang.Object implements Instantiator
| Constructor and Description |
|---|
UnsafeInstantiator() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
instantiate(java.lang.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
|
public boolean isAvailable()
InstantiatorisAvailable in interface Instantiatorpublic <T> T instantiate(java.lang.Class<T> clazz)
Instantiatorinstantiate in interface InstantiatorT - The type of the classclazz - The classCopyright © 2014. All Rights Reserved.