A B C D F G H I J M N O P S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AccessibleInstantiator<T> - Class in org.objenesis.instantiator.basic
-
Instantiates a class by grabbing the no-args constructor, making it accessible and then calling Constructor.newInstance().
- AccessibleInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.AccessibleInstantiator
- ANDROID_VERSION - Static variable in class org.objenesis.strategy.PlatformDescription
-
Android version.
- Android10Instantiator<T> - Class in org.objenesis.instantiator.android
-
Instantiator for Android API level 10 and lover which creates objects without driving their constructors, using internal methods on the Dalvik implementation of
ObjectInputStream
. - Android10Instantiator(Class<T>) - Constructor for class org.objenesis.instantiator.android.Android10Instantiator
- Android17Instantiator<T> - Class in org.objenesis.instantiator.android
-
Instantiator for Android API level 11 to 17 which creates objects without driving their constructors, using internal methods on the Dalvik implementation of
ObjectStreamClass
. - Android17Instantiator(Class<T>) - Constructor for class org.objenesis.instantiator.android.Android17Instantiator
- Android18Instantiator<T> - Class in org.objenesis.instantiator.android
-
Instantiator for Android API level 18 and higher.
- Android18Instantiator(Class<T>) - Constructor for class org.objenesis.instantiator.android.Android18Instantiator
- AndroidSerializationInstantiator<T> - Class in org.objenesis.instantiator.android
-
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
. - AndroidSerializationInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.android.AndroidSerializationInstantiator
B
- BaseInstantiatorStrategy - Class in org.objenesis.strategy
-
Base
InstantiatorStrategy
class basically. - BaseInstantiatorStrategy() - Constructor for class org.objenesis.strategy.BaseInstantiatorStrategy
C
- cache - Variable in class org.objenesis.ObjenesisBase
-
Strategy cache.
- classNameToInternalClassName(String) - Static method in class org.objenesis.instantiator.util.ClassUtils
-
Will convert a class name to its name in the class definition format (e.g
org.objenesis.EmptyClass
becomesorg/objenesis/EmptyClass
) - classNameToResource(String) - Static method in class org.objenesis.instantiator.util.ClassUtils
-
Will convert a class name to its class loader resource name (e.g
org.objenesis.EmptyClass
becomesorg/objenesis/EmptyClass.class
) - ClassUtils - Class in org.objenesis.instantiator.util
-
Helper class for to play with classes.
- constructor - Variable in class org.objenesis.instantiator.basic.ConstructorInstantiator
- ConstructorInstantiator<T> - Class in org.objenesis.instantiator.basic
-
Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
- ConstructorInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.ConstructorInstantiator
D
- DALVIK - Static variable in class org.objenesis.strategy.PlatformDescription
-
JVM_NAME prefix for Dalvik/Android
- DelegatingToExoticInstantiator<T> - Class in org.objenesis.instantiator.basic
-
Helper class extended by instantiators for which the implementation was moved to the exotic project.
- DelegatingToExoticInstantiator(String, Class<T>) - Constructor for class org.objenesis.instantiator.basic.DelegatingToExoticInstantiator
- describePlatform() - Static method in class org.objenesis.strategy.PlatformDescription
-
Describes the platform.
F
- FailingInstantiator<T> - Class in org.objenesis.instantiator.basic
-
The instantiator that always throws an exception.
- FailingInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.FailingInstantiator
G
- GAE_VERSION - Static variable in class org.objenesis.strategy.PlatformDescription
-
Google App Engine version or null is we are not on GAE
- GCJInstantiator<T> - Class in org.objenesis.instantiator.gcj
-
Instantiates a class by making a call to internal GCJ private methods.
- GCJInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.gcj.GCJInstantiator
- GCJInstantiatorBase<T> - Class in org.objenesis.instantiator.gcj
-
Base class for GCJ-based instantiators.
- GCJInstantiatorBase(Class<T>) - Constructor for class org.objenesis.instantiator.gcj.GCJInstantiatorBase
- GCJSerializationInstantiator<T> - Class in org.objenesis.instantiator.gcj
-
Instantiates a class by making a call to internal GCJ private methods.
- GCJSerializationInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.gcj.GCJSerializationInstantiator
- getExistingClass(ClassLoader, String) - Static method in class org.objenesis.instantiator.util.ClassUtils
-
Check if this class already exists in the class loader and return it if it does
- getInstantiatorOf(Class<T>) - Method in interface org.objenesis.Objenesis
-
Will pick the best instantiator for the provided class.
- getInstantiatorOf(Class<T>) - Method in class org.objenesis.ObjenesisBase
-
Will pick the best instantiator for the provided class.
- getInstantiatorOf(Class<T>) - Static method in class org.objenesis.ObjenesisHelper
-
Will pick the best instantiator for the provided class.
- getNonSerializableSuperClass(Class<T>) - Static method in class org.objenesis.instantiator.SerializationInstantiatorHelper
-
Returns the first non-serializable superclass of a given class.
- getSerializableObjectInstantiatorOf(Class<T>) - Static method in class org.objenesis.ObjenesisHelper
-
Same as
ObjenesisHelper.getInstantiatorOf(Class)
but providing an instantiator emulating ObjectInputStream.readObject behavior. - getUnsafe() - Static method in class org.objenesis.instantiator.util.UnsafeUtils
- GNU - Static variable in class org.objenesis.strategy.PlatformDescription
-
JVM_NAME prefix for GCJ
H
- HOTSPOT - Static variable in class org.objenesis.strategy.PlatformDescription
-
JVM_NAME prefix for Java HotSpot
I
- Instantiator - Annotation Type in org.objenesis.instantiator.annotations
-
Denote that the class in an instantiator of a given type
- InstantiatorStrategy - Interface in org.objenesis.strategy
-
Defines a strategy to determine the best instantiator for a class.
- IS_ANDROID_OPENJDK - Static variable in class org.objenesis.strategy.PlatformDescription
-
Flag telling if this version of Android is based on the OpenJDK
- isAfterJava11() - Static method in class org.objenesis.strategy.PlatformDescription
-
Tells if the current JVM is running Java 11 or above
- isAfterJigsaw() - Static method in class org.objenesis.strategy.PlatformDescription
-
Tells if the current JVM is running Java 9 or above
- isAndroidOpenJDK() - Static method in class org.objenesis.strategy.PlatformDescription
-
Check if this JVM is an Android JVM based on OpenJDK.
- isGoogleAppEngine() - Static method in class org.objenesis.strategy.PlatformDescription
- isThisJVM(String) - Static method in class org.objenesis.strategy.PlatformDescription
-
Check if the current JVM is of the type passed in parameter.
J
- JVM_NAME - Static variable in class org.objenesis.strategy.PlatformDescription
-
JVM name
M
- MagicInstantiator<T> - Class in org.objenesis.instantiator.sun
-
Shell keeping compatibility but delegating to objenesis-exotic which contains the real implementation.
- MagicInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.sun.MagicInstantiator
N
- newInstance() - Method in class org.objenesis.instantiator.android.Android10Instantiator
- newInstance() - Method in class org.objenesis.instantiator.android.Android17Instantiator
- newInstance() - Method in class org.objenesis.instantiator.android.Android18Instantiator
- newInstance() - Method in class org.objenesis.instantiator.android.AndroidSerializationInstantiator
- newInstance() - Method in class org.objenesis.instantiator.basic.ConstructorInstantiator
- newInstance() - Method in class org.objenesis.instantiator.basic.DelegatingToExoticInstantiator
- newInstance() - Method in class org.objenesis.instantiator.basic.FailingInstantiator
- newInstance() - Method in class org.objenesis.instantiator.basic.NewInstanceInstantiator
- newInstance() - Method in class org.objenesis.instantiator.basic.NullInstantiator
- newInstance() - Method in class org.objenesis.instantiator.basic.ObjectInputStreamInstantiator
- newInstance() - Method in class org.objenesis.instantiator.basic.ObjectStreamClassInstantiator
- newInstance() - Method in class org.objenesis.instantiator.gcj.GCJInstantiator
- newInstance() - Method in class org.objenesis.instantiator.gcj.GCJInstantiatorBase
- newInstance() - Method in class org.objenesis.instantiator.gcj.GCJSerializationInstantiator
- newInstance() - Method in interface org.objenesis.instantiator.ObjectInstantiator
-
Returns a new instance of an object.
- newInstance() - Method in class org.objenesis.instantiator.perc.PercInstantiator
- newInstance() - Method in class org.objenesis.instantiator.perc.PercSerializationInstantiator
- newInstance() - Method in class org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator
- newInstance() - Method in class org.objenesis.instantiator.sun.SunReflectionFactorySerializationInstantiator
- newInstance() - Method in class org.objenesis.instantiator.sun.UnsafeFactoryInstantiator
- newInstance(Class<T>) - Static method in class org.objenesis.instantiator.util.ClassUtils
- newInstance(Class<T>) - Method in interface org.objenesis.Objenesis
-
Will create a new object without any constructor being called
- newInstance(Class<T>) - Method in class org.objenesis.ObjenesisBase
-
Will create a new object without any constructor being called
- newInstance(Class<T>) - Static method in class org.objenesis.ObjenesisHelper
-
Will create a new object without any constructor being called
- NewInstanceInstantiator<T> - Class in org.objenesis.instantiator.basic
-
The simplest instantiator - simply calls Class.newInstance().
- NewInstanceInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.NewInstanceInstantiator
- newInstantiatorOf(Class<T>) - Method in interface org.objenesis.strategy.InstantiatorStrategy
-
Create a dedicated instantiator for the given class
- newInstantiatorOf(Class<T>) - Method in class org.objenesis.strategy.SerializingInstantiatorStrategy
-
Return an
ObjectInstantiator
allowing to create instance following the java serialization framework specifications. - newInstantiatorOf(Class<T>) - Method in class org.objenesis.strategy.SingleInstantiatorStrategy
-
Return an instantiator for the wanted type and of the one and only type of instantiator returned by this class.
- newInstantiatorOf(Class<T>) - Method in class org.objenesis.strategy.StdInstantiatorStrategy
-
Return an
ObjectInstantiator
allowing to create instance without any constructor being called. - newSerializableInstance(Class<T>) - Static method in class org.objenesis.ObjenesisHelper
-
Will create an object just like it's done by ObjectInputStream.readObject (the default constructor of the first non serializable class will be called)
- NOT_COMPLIANT - org.objenesis.instantiator.annotations.Typology
-
Mark an instantiator that doesn't behave like a
STANDARD
nor aSERIALIZATION
(e.g. - NullInstantiator<T> - Class in org.objenesis.instantiator.basic
-
The instantiator that always return a null instance
- NullInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.NullInstantiator
O
- ObjectInputStreamInstantiator<T> - Class in org.objenesis.instantiator.basic
-
Instantiates a class by using a dummy input stream that always feeds data for an empty object of the same kind.
- ObjectInputStreamInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.ObjectInputStreamInstantiator
- ObjectInstantiator<T> - Interface in org.objenesis.instantiator
-
Instantiates a new object.
- ObjectStreamClassInstantiator<T> - Class in org.objenesis.instantiator.basic
-
Instantiates a class by using reflection to make a call to private method ObjectStreamClass.newInstance, present in many JVM implementations.
- ObjectStreamClassInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.ObjectStreamClassInstantiator
- Objenesis - Interface in org.objenesis
-
Common interface to all kind of Objenesis objects
- ObjenesisBase - Class in org.objenesis
-
Base class to extend if you want to have a class providing your own default strategy.
- ObjenesisBase(InstantiatorStrategy) - Constructor for class org.objenesis.ObjenesisBase
-
Constructor allowing to pick a strategy and using cache
- ObjenesisBase(InstantiatorStrategy, boolean) - Constructor for class org.objenesis.ObjenesisBase
-
Flexible constructor allowing to pick the strategy and if caching should be used
- ObjenesisException - Exception in org.objenesis
-
Exception thrown by Objenesis.
- ObjenesisException(String) - Constructor for exception org.objenesis.ObjenesisException
- ObjenesisException(String, Throwable) - Constructor for exception org.objenesis.ObjenesisException
- ObjenesisException(Throwable) - Constructor for exception org.objenesis.ObjenesisException
- ObjenesisHelper - Class in org.objenesis
-
Use Objenesis in a static way.
- ObjenesisSerializer - Class in org.objenesis
-
Objenesis implementation using the
SerializingInstantiatorStrategy
. - ObjenesisSerializer() - Constructor for class org.objenesis.ObjenesisSerializer
-
Default constructor using the
SerializingInstantiatorStrategy
- ObjenesisSerializer(boolean) - Constructor for class org.objenesis.ObjenesisSerializer
-
Instance using the
SerializingInstantiatorStrategy
with or without cachingObjectInstantiator
s - ObjenesisStd - Class in org.objenesis
-
Objenesis implementation using the
StdInstantiatorStrategy
. - ObjenesisStd() - Constructor for class org.objenesis.ObjenesisStd
-
Default constructor using the
StdInstantiatorStrategy
- ObjenesisStd(boolean) - Constructor for class org.objenesis.ObjenesisStd
-
Instance using the
StdInstantiatorStrategy
with or without cachingObjectInstantiator
s - OPENJDK - Static variable in class org.objenesis.strategy.PlatformDescription
-
JVM_NAME prefix for the OpenJDK
- org.objenesis - package org.objenesis
- org.objenesis.instantiator - package org.objenesis.instantiator
- org.objenesis.instantiator.android - package org.objenesis.instantiator.android
- org.objenesis.instantiator.annotations - package org.objenesis.instantiator.annotations
- org.objenesis.instantiator.basic - package org.objenesis.instantiator.basic
- org.objenesis.instantiator.gcj - package org.objenesis.instantiator.gcj
- org.objenesis.instantiator.perc - package org.objenesis.instantiator.perc
- org.objenesis.instantiator.sun - package org.objenesis.instantiator.sun
- org.objenesis.instantiator.util - package org.objenesis.instantiator.util
- org.objenesis.strategy - package org.objenesis.strategy
P
- PERC - Static variable in class org.objenesis.strategy.PlatformDescription
-
JVM_NAME prefix for Aonix PERC
- PercInstantiator<T> - Class in org.objenesis.instantiator.perc
-
Instantiates a class by making a call to internal Perc private methods.
- PercInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.perc.PercInstantiator
- PercSerializationInstantiator<T> - Class in org.objenesis.instantiator.perc
-
Instantiates a class by making a call to internal Perc private methods.
- PercSerializationInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.perc.PercSerializationInstantiator
- PlatformDescription - Class in org.objenesis.strategy
-
List of constants describing the currently used platform.
- ProxyingInstantiator<T> - Class in org.objenesis.instantiator.basic
-
Shell keeping compatibility but delegating to objenesis-exotic which contains the real implementation.
- ProxyingInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.ProxyingInstantiator
S
- SERIALIZATION - org.objenesis.instantiator.annotations.Typology
-
Mark an instantiator used for serialization.
- SerializationInstantiatorHelper - Class in org.objenesis.instantiator
-
Helper for common serialization-compatible instantiation functions
- SerializationInstantiatorHelper() - Constructor for class org.objenesis.instantiator.SerializationInstantiatorHelper
- SerializingInstantiatorStrategy - Class in org.objenesis.strategy
-
Guess the best serializing instantiator for a given class.
- SerializingInstantiatorStrategy() - Constructor for class org.objenesis.strategy.SerializingInstantiatorStrategy
- SingleInstantiatorStrategy - Class in org.objenesis.strategy
-
Strategy returning only one instantiator type.
- SingleInstantiatorStrategy(Class<T>) - Constructor for class org.objenesis.strategy.SingleInstantiatorStrategy
-
Create a strategy that will return always the same instantiator type.
- SPECIFICATION_VERSION - Static variable in class org.objenesis.strategy.PlatformDescription
-
Java specification version
- STANDARD - org.objenesis.instantiator.annotations.Typology
-
Mark an instantiator used for standard instantiation (not calling a constructor).
- StdInstantiatorStrategy - Class in org.objenesis.strategy
-
Guess the best instantiator for a given class.
- StdInstantiatorStrategy() - Constructor for class org.objenesis.strategy.StdInstantiatorStrategy
- strategy - Variable in class org.objenesis.ObjenesisBase
-
Strategy used by this Objenesis implementation to create classes
- SUN - Static variable in class org.objenesis.strategy.PlatformDescription
-
Deprecated.Use
PlatformDescription.HOTSPOT
instead - SunReflectionFactoryInstantiator<T> - Class in org.objenesis.instantiator.sun
-
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.
- SunReflectionFactoryInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.sun.SunReflectionFactoryInstantiator
- SunReflectionFactorySerializationInstantiator<T> - Class in org.objenesis.instantiator.sun
-
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.
- SunReflectionFactorySerializationInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.sun.SunReflectionFactorySerializationInstantiator
T
- toString() - Method in class org.objenesis.ObjenesisBase
- type - Variable in class org.objenesis.instantiator.gcj.GCJInstantiatorBase
- Typology - Enum in org.objenesis.instantiator.annotations
-
Possible types of instantiator
U
- UNKNOWN - org.objenesis.instantiator.annotations.Typology
-
No type specified on the instantiator class
- UnsafeFactoryInstantiator<T> - Class in org.objenesis.instantiator.sun
-
Instantiates an object, WITHOUT calling it's constructor, using
sun.misc.Unsafe.allocateInstance()
. - UnsafeFactoryInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.sun.UnsafeFactoryInstantiator
- UnsafeUtils - Class in org.objenesis.instantiator.util
-
Helper class basically allowing to get access to
sun.misc.Unsafe
V
- value() - Method in annotation type org.objenesis.instantiator.annotations.Instantiator
- valueOf(String) - Static method in enum org.objenesis.instantiator.annotations.Typology
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.objenesis.instantiator.annotations.Typology
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VENDOR - Static variable in class org.objenesis.strategy.PlatformDescription
-
VM vendor name
- VENDOR_VERSION - Static variable in class org.objenesis.strategy.PlatformDescription
-
VM vendor version
- VM_INFO - Static variable in class org.objenesis.strategy.PlatformDescription
-
JVM version
- VM_VERSION - Static variable in class org.objenesis.strategy.PlatformDescription
-
JVM version
All Classes All Packages