|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objenesis.strategy.BaseInstantiatorStrategy
org.objenesis.strategy.StdInstantiatorStrategy
public class StdInstantiatorStrategy
Guess the best instantiator for a given class. The instantiator will instantiate the class without calling any constructor. Currently, the selection doesn't depend on the class. It relies on the
ObjectInstantiator
Field Summary |
---|
Fields inherited from class org.objenesis.strategy.BaseInstantiatorStrategy |
---|
GNU, JROCKIT, JVM_NAME, PERC, SUN, VENDOR, VENDOR_VERSION, VM_INFO, VM_VERSION |
Constructor Summary | |
---|---|
StdInstantiatorStrategy()
|
Method Summary | |
---|---|
ObjectInstantiator |
newInstantiatorOf(java.lang.Class type)
Return an ObjectInstantiator allowing to create instance without any constructor being
called. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StdInstantiatorStrategy()
Method Detail |
---|
public ObjectInstantiator newInstantiatorOf(java.lang.Class type)
ObjectInstantiator
allowing to create instance without any constructor being
called.
type
- Class to instantiate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |