|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Objenesis
Common interface to all kind of Objenesis objects
Method Summary | |
---|---|
ObjectInstantiator |
getInstantiatorOf(Class clazz)
Will pick the best instantiator for the provided class. |
Object |
newInstance(Class clazz)
Will create a new object without any constructor being called |
Method Detail |
---|
Object newInstance(Class clazz)
clazz
- Class to instantiate
ObjectInstantiator getInstantiatorOf(Class clazz)
newInstance(Class)
.
clazz
- Class to instantiate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |