Skip navigation links
A B C D F G H I J M N O P R S T U V W 

A

ACC_ABSTRACT - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
ACC_ANNOTATION - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
ACC_ENUM - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
ACC_FINAL - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
ACC_INTERFACE - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
ACC_PUBLIC - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
ACC_SUPER - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
ACC_SYNTHETIC - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
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
 
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 leve 18 and higher.
Android18Instantiator(Class<T>) - Constructor for class org.objenesis.instantiator.android.Android18Instantiator
 
ANDROID_VERSION - Static variable in class org.objenesis.strategy.PlatformDescription
Android version.
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 of ObjectStreamClass.
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.
ClassDefinitionUtils - Class in org.objenesis.instantiator.util
Helper class for ProxyObjectInstantiator.
classNameToInternalClassName(String) - Static method in class org.objenesis.instantiator.util.ClassDefinitionUtils
Will convert a class name to its name in the class definition format (e.g org.objenesis.EmptyClass becomes org/objenesis/EmptyClass)
classNameToResource(String) - Static method in class org.objenesis.instantiator.util.ClassDefinitionUtils
Will convert a class name to its class loader resource name (e.g org.objenesis.EmptyClass becomes org/objenesis/EmptyClass.class)
CONSTANT_Class - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_Double - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_Fieldref - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_Float - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_Integer - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_InterfaceMethodref - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_InvokeDynamic - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_Long - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_MethodHandle - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_Methodref - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_MethodType - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_NameAndType - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_String - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
CONSTANT_Utf8 - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
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
defineClass(String, byte[], ClassLoader) - Static method in class org.objenesis.instantiator.util.ClassDefinitionUtils
Define a class in the provided class loader from the array of bytes.
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.ClassDefinitionUtils
Check if this class already exists in the class loader and return it if it does
getInstantiator() - Method in class org.objenesis.instantiator.sun.MagicInstantiator
Get the underlying instantiator.
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
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

JROCKIT - Static variable in class org.objenesis.strategy.PlatformDescription
JVM_NAME prefix for JRockit
JVM_NAME - Static variable in class org.objenesis.strategy.PlatformDescription
JVM name

M

MAGIC - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
MagicInstantiator<T> - Class in org.objenesis.instantiator.sun
This instantiator will correctly bypass the constructors by instantiating the class using the default constructor from Object.
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.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.basic.ProxyingInstantiator
 
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.MagicInstantiator
 
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>) - 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)
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(Throwable) - Constructor for exception org.objenesis.ObjenesisException
 
ObjenesisException(String, 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 caching ObjectInstantiators
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 caching ObjectInstantiators
OPENJDK - Static variable in class org.objenesis.strategy.PlatformDescription
JVM_NAME prefix for the OpenJDK
OPS_aload_0 - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
OPS_areturn - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
OPS_dup - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
OPS_invokespecial - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
OPS_new - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
OPS_return - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
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
This instantiator creates a class by dynamically extending it.
ProxyingInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.basic.ProxyingInstantiator
 

R

readClass(String) - Static method in class org.objenesis.instantiator.util.ClassDefinitionUtils
Read the bytes of a class from the classpath

S

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
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 Objenesi implementation to create classes
SUN - Static variable in class org.objenesis.strategy.PlatformDescription
Deprecated.
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

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

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
VERSION - Static variable in class org.objenesis.instantiator.util.ClassDefinitionUtils
 
VM_INFO - Static variable in class org.objenesis.strategy.PlatformDescription
JVM version
VM_VERSION - Static variable in class org.objenesis.strategy.PlatformDescription
JVM version

W

writeClass(String, byte[]) - Static method in class org.objenesis.instantiator.util.ClassDefinitionUtils
Write all class bytes to a file.
A B C D F G H I J M N O P R S T U V W 
Skip navigation links

Copyright © 2006–2017 Joe Walnes, Henri Tremblay, Leonardo Mesquita. All rights reserved.