public class ObjenesisUnsafe extends org.objenesis.ObjenesisBase
UnsafeInstantiatorStrategy
. This class provides the
Objenesis API a strategy for using sun.misc.Unsafe as a class construction technique.
You may use this class independently of the cloning framework.Constructor and Description |
---|
ObjenesisUnsafe()
Default constructor using the
UnsafeInstantiatorStrategy |
ObjenesisUnsafe(boolean useCache)
Instance using the
UnsafeInstantiatorStrategy with or without caching of
ObjectInstantiator . |
public ObjenesisUnsafe()
UnsafeInstantiatorStrategy
public ObjenesisUnsafe(boolean useCache)
UnsafeInstantiatorStrategy
with or without caching of
ObjectInstantiator
.useCache
- If ObjectInstantiator
s should be cachedCopyright © 2010–2018 Jadira Systems. All rights reserved.