Package org.objenesis.instantiator.sun
package org.objenesis.instantiator.sun
-
ClassesClassDescriptionShell keeping compatibility but delegating to objenesis-exotic which contains the real implementation.Helper methods providing access to
ReflectionFactory
via reflection, for use by theObjectInstantiator
s 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()
.