Package org.objenesis.instantiator.sun
package org.objenesis.instantiator.sun
-
ClassesClassDescriptionThis instantiator will correctly bypass the constructors by instantiating the class using the default constructor from Object.Helper methods providing access to
ReflectionFactoryvia reflection, for use by theObjectInstantiators that use it.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.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.Instantiates an object, WITHOUT calling it's constructor, usingsun.misc.Unsafe.allocateInstance().