Uses of Annotation Interface
org.objenesis.instantiator.annotations.Instantiator
Packages that use Instantiator
Package
Description
-
Uses of Instantiator in org.objenesis.instantiator.android
Classes in org.objenesis.instantiator.android with annotations of type InstantiatorModifier and TypeClassDescriptionclass
Instantiator for Android API level 10 and lover which creates objects without driving their constructors, using internal methods on the Dalvik implementation ofObjectInputStream
.class
Instantiator for Android API level 11 to 17 which creates objects without driving their constructors, using internal methods on the Dalvik implementation ofObjectStreamClass
.class
Instantiator for Android API level 18 and higher.class
ObjectInstantiator
for Android which creates objects using the constructor from the first non-serializable parent class constructor, using internal methods on the Dalvik implementation ofObjectStreamClass
. -
Uses of Instantiator in org.objenesis.instantiator.basic
Classes in org.objenesis.instantiator.basic with annotations of type InstantiatorModifier and TypeClassDescriptionclass
Instantiates a class by grabbing the no-args constructor, making it accessible and then calling Constructor.newInstance().class
Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().class
The instantiator that always throws an exception.class
The simplest instantiator - simply calls Class.newInstance().class
The instantiator that always return a null instanceclass
Instantiates a class by using a dummy input stream that always feeds data for an empty object of the same kind.class
Instantiates a class by using reflection to make a call to private method ObjectStreamClass.newInstance, present in many JVM implementations.class
This instantiator creates a class by dynamically extending it. -
Uses of Instantiator in org.objenesis.instantiator.gcj
Classes in org.objenesis.instantiator.gcj with annotations of type InstantiatorModifier and TypeClassDescriptionclass
Instantiates a class by making a call to internal GCJ private methods.class
Instantiates a class by making a call to internal GCJ private methods. -
Uses of Instantiator in org.objenesis.instantiator.perc
Classes in org.objenesis.instantiator.perc with annotations of type InstantiatorModifier and TypeClassDescriptionclass
Instantiates a class by making a call to internal Perc private methods.class
Instantiates a class by making a call to internal Perc private methods. -
Uses of Instantiator in org.objenesis.instantiator.sun
Classes in org.objenesis.instantiator.sun with annotations of type InstantiatorModifier and TypeClassDescriptionclass
This instantiator will correctly bypass the constructors by instantiating the class using the default constructor from Object.class
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.class
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.class
Instantiates an object, WITHOUT calling it's constructor, usingsun.misc.Unsafe.allocateInstance()
.