All Classes and Interfaces
Class
Description
Base class for features.
Class loading a property file and delegating the treatment of each line to a concrete implementations.
Handler for reporting errors from the AbstractLoader.
Error handler that logs errors to a text stream.
Instantiates a class by grabbing the no-args constructor, making it accessible and then calling
Constructor.newInstance().
Instantiator for Android API level 10 and lover which creates objects without driving their
constructors, using internal methods on the Dalvik implementation of
ObjectInputStream
.Instantiator for Android API level 11 to 17 which creates objects without driving their
constructors, using internal methods on the Dalvik implementation of
ObjectStreamClass
.Instantiator for Android API level 18 and higher.
ObjectInstantiator
for Android which creates objects using the constructor from the first
non-serializable parent class constructor, using internal methods on the Dalvik implementation of
ObjectStreamClass
.Base
InstantiatorStrategy
class basically.Represents a candidate for instantiation
Helper class for ProxyObjectInstantiator.
Taken and adapted from here
Helper class for to play with classes.
Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
Java 11+ removed sun.misc.Unsafe.defineClass.
No-arg of the first none serializable parent class is called.
A class extending a serializable class can be instantiated without calling any constructor
The instantiator that always throws an exception.
A feature is a behavior that we expect from an instantiator.
Instantiates a class by making a call to internal GCJ private methods.
Base class for GCJ-based instantiators.
Instantiates a class by making a call to internal GCJ private methods.
Denote that the class in an instantiator of a given type
Defines a strategy to determine the best instantiator for a class.
This instantiator will correctly bypass the constructors by instantiating the class using the default
constructor from Object.
Command line launcher for Technology Compatibility Kit (TCK).
The simplest instantiator - simply calls Class.newInstance().
Not serializable classes can't be instantiated.
The instantiator that always return a null instance
Instantiates a class by using a dummy input stream that always feeds data for an empty object of
the same kind.
Instantiates a new object.
Instantiates a class by using reflection to make a call to private method
ObjectStreamClass.newInstance, present in many JVM implementations.
Common interface to all kind of Objenesis objects
Base class to extend if you want to have a class providing your own default strategy.
Exception thrown by Objenesis.
Use Objenesis in a static way.
Objenesis implementation using the
SerializingInstantiatorStrategy
.Objenesis implementation using the
StdInstantiatorStrategy
.Instantiates a class by making a call to internal Perc private methods.
Instantiates a class by making a call to internal Perc private methods.
List of constants describing the currently used platform.
This instantiator creates a class by dynamically extending it.
Externalizable
methods should not be called during instantiation.Serializable
special methods should not be called during instantiation.Reports results from the TCK back to the user.
This class will try every available instantiator on the platform to see which works.
A serializable class can be instantiated without calling any constructor
Helper for common serialization-compatible instantiation functions
Guess the best serializing instantiator for a given class.
Strategy returning only one instantiator type.
Guess the best instantiator for a given 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.
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.
Technology Compatibility Kit (TCK) for
Objenesis
s.Reports results from TCK as tabulated text, suitable for dumping to the console or a file and
being read by a human.
Possible types of instantiator
Instantiates an object, WITHOUT calling it's constructor, using
sun.misc.Unsafe.allocateInstance()
.Helper class basically allowing to get access to
sun.misc.Unsafe