public class UnsafeInstantiatorStrategy extends org.objenesis.strategy.StdInstantiatorStrategy
Constructor and Description |
---|
UnsafeInstantiatorStrategy() |
Modifier and Type | Method and Description |
---|---|
<T> org.objenesis.instantiator.ObjectInstantiator<T> |
newInstantiatorOf(Class<T> type)
Return an
ObjectInstantiator allowing to create instance without any constructor
being called. |
public UnsafeInstantiatorStrategy()
public <T> org.objenesis.instantiator.ObjectInstantiator<T> newInstantiatorOf(Class<T> type)
ObjectInstantiator
allowing to create instance without any constructor
being called.newInstantiatorOf
in interface org.objenesis.strategy.InstantiatorStrategy
newInstantiatorOf
in class org.objenesis.strategy.StdInstantiatorStrategy
type
- Class to instantiateCopyright © 2010–2018 Jadira Systems. All rights reserved.