Package org.objenesis.instantiator.sun
-
Class Summary Class Description MagicInstantiator<T> This instantiator will correctly bypass the constructors by instantiating the class using the default constructor from Object.SunReflectionFactoryInstantiator<T> Instantiates an object, WITHOUT calling it's constructor, using internal sun.reflect.ReflectionFactory - a class only available on JDK's that use Sun's 1.4 (or later) Java implementation.SunReflectionFactorySerializationInstantiator<T> Instantiates an object using internal sun.reflect.ReflectionFactory - a class only available on JDK's that use Sun's 1.4 (or later) Java implementation.UnsafeFactoryInstantiator<T> Instantiates an object, WITHOUT calling it's constructor, usingsun.misc.Unsafe.allocateInstance()
.