|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Instantiator
An interface for instantiating classes using non-portable reflection methods
Method Summary | ||
---|---|---|
|
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 |
Method Detail |
---|
boolean isAvailable()
<T> T instantiate(Class<T> clazz)
T
- The type of the classclazz
- The class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |