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

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
 
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.
CandidateLoader - Class in org.objenesis.tck
Loads a set of candidate classes from a properties file into the TCK.
CandidateLoader(TCK, ClassLoader, CandidateLoader.ErrorHandler) - Constructor for class org.objenesis.tck.CandidateLoader
 
CandidateLoader.ErrorHandler - Interface in org.objenesis.tck
Handler for reporting errors from the CandidateLoader.
CandidateLoader.LoggingErrorHandler - Class in org.objenesis.tck
Error handler that logs errors to a text stream.
classNotFound(String) - Method in interface org.objenesis.tck.CandidateLoader.ErrorHandler
Called whenever, trying to retrieve a candidate class from its name, a ClassNotFoundException is thrown
classNotFound(String) - Method in class org.objenesis.tck.CandidateLoader.LoggingErrorHandler
 
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
 
ConstructorThrowingException - Class in org.objenesis.tck.candidates
 
ConstructorThrowingException() - Constructor for class org.objenesis.tck.candidates.ConstructorThrowingException
 
ConstructorWithArguments - Class in org.objenesis.tck.candidates
 
ConstructorWithArguments(String, int) - Constructor for class org.objenesis.tck.candidates.ConstructorWithArguments
 
ConstructorWithMandatoryArguments - Class in org.objenesis.tck.candidates
 
ConstructorWithMandatoryArguments(String) - Constructor for class org.objenesis.tck.candidates.ConstructorWithMandatoryArguments
 

D

DALVIK - Static variable in class org.objenesis.strategy.PlatformDescription
JVM_NAME prefix for Dalvik/Android
DefaultPackageConstructor - Class in org.objenesis.tck.candidates
 
DefaultPrivateConstructor - Class in org.objenesis.tck.candidates
 
DefaultProtectedConstructor - Class in org.objenesis.tck.candidates
 
DefaultProtectedConstructor() - Constructor for class org.objenesis.tck.candidates.DefaultProtectedConstructor
 
DefaultPublicConstructor - Class in org.objenesis.tck.candidates
 
DefaultPublicConstructor() - Constructor for class org.objenesis.tck.candidates.DefaultPublicConstructor
 
describePlatform() - Method in class org.objenesis.tck.TCK
Describes the platform.

E

endTest() - Method in interface org.objenesis.tck.Reporter
Report that tests have been completed for a particular Objenesis instance and candidate.
endTest() - Method in class org.objenesis.tck.TextReporter
 
endTests() - Method in interface org.objenesis.tck.Reporter
Report that all tests have finished.
endTests() - Method in class org.objenesis.tck.TextReporter
 
exception(Exception) - Method in interface org.objenesis.tck.Reporter
Report that something bad happened during the test.
exception(Exception) - Method in class org.objenesis.tck.TextReporter
 

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

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
 
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.
GNU - Static variable in class org.objenesis.strategy.PlatformDescription
JVM_NAME prefix for GCJ

H

hasErrors() - Method in class org.objenesis.tck.TextReporter
Return true if the reporter has registered some errors

I

InstantiatorStrategy - Interface in org.objenesis.strategy
Defines a strategy to determine the best instantiator for a class.
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
JRockitLegacyInstantiator<T> - Class in org.objenesis.instantiator.jrockit
Instantiates a class by making a call to internal JRockit private methods.
JRockitLegacyInstantiator(Class<T>) - Constructor for class org.objenesis.instantiator.jrockit.JRockitLegacyInstantiator
 
JVM_NAME - Static variable in class org.objenesis.strategy.PlatformDescription
JVM name

L

loadFrom(InputStream) - Method in class org.objenesis.tck.CandidateLoader
 
loadFromResource(Class<?>, String) - Method in class org.objenesis.tck.CandidateLoader
Load a candidate property file
LoggingErrorHandler(PrintStream) - Constructor for class org.objenesis.tck.CandidateLoader.LoggingErrorHandler
 

M

Main - Class in org.objenesis.tck
Command line launcher for Technology Compatibility Kit (TCK).
Main() - Constructor for class org.objenesis.tck.Main
 
main(String[]) - Static method in class org.objenesis.tck.Main
Main class of the TCK.

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.gcj.GCJInstantiator
 
newInstance() - Method in class org.objenesis.instantiator.gcj.GCJInstantiatorBase
 
newInstance() - Method in class org.objenesis.instantiator.gcj.GCJSerializationInstantiator
 
newInstance() - Method in class org.objenesis.instantiator.jrockit.JRockitLegacyInstantiator
 
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>) - 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
 
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)
NoConstructor - Class in org.objenesis.tck.candidates
 
NoConstructor() - Constructor for class org.objenesis.tck.candidates.NoConstructor
 
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
org.objenesis - package org.objenesis
 
org.objenesis.instantiator - package org.objenesis.instantiator
 
org.objenesis.instantiator.android - package org.objenesis.instantiator.android
 
org.objenesis.instantiator.basic - package org.objenesis.instantiator.basic
 
org.objenesis.instantiator.gcj - package org.objenesis.instantiator.gcj
 
org.objenesis.instantiator.jrockit - package org.objenesis.instantiator.jrockit
 
org.objenesis.instantiator.perc - package org.objenesis.instantiator.perc
 
org.objenesis.instantiator.sun - package org.objenesis.instantiator.sun
 
org.objenesis.strategy - package org.objenesis.strategy
 
org.objenesis.tck - package org.objenesis.tck
 
org.objenesis.tck.candidates - package org.objenesis.tck.candidates
 

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.
printResult(boolean) - Method in class org.objenesis.tck.TextReporter
Print the final summary report

R

readResolve() - Method in class org.objenesis.tck.candidates.SerializableResolver
 
registerCandidate(Class<?>, String) - Method in class org.objenesis.tck.TCK
Register a candidate class to attempt to instantiate.
registerObjenesisInstance(Objenesis, String) - Method in class org.objenesis.tck.TCK
Register an Objenesis instance to use when attempting to instantiate a class.
Reporter - Interface in org.objenesis.tck
Reports results from the TCK back to the user.
result(boolean) - Method in interface org.objenesis.tck.Reporter
Report details about what happened when an Objenesis instance tried to instantiate the current candidate.
result(boolean) - Method in class org.objenesis.tck.TextReporter
 
run(Reporter) - Static method in class org.objenesis.tck.Main
Run the full test suite using standard Objenesis instances
runParentConstructorTest(Objenesis) - Static method in class org.objenesis.tck.Main
A special test making sure the first none serializable class no-args constructor is called
runSerializerTest(Objenesis, Reporter) - Static method in class org.objenesis.tck.Main
Run the serializing suite on the provided Objenesis instance
runStandardTest(Objenesis, Reporter) - Static method in class org.objenesis.tck.Main
Run the standard suite on the provided Objenesis instance
runTest(Objenesis, Reporter, String, String) - Static method in class org.objenesis.tck.Main
Run a suite of tests (candidates) on the Objenesis instance, sending the results to the reporter
runTests(Reporter) - Method in class org.objenesis.tck.TCK
Run all TCK tests.

S

SerializableConstructorThrowingException - Class in org.objenesis.tck.candidates
 
SerializableConstructorThrowingException() - Constructor for class org.objenesis.tck.candidates.SerializableConstructorThrowingException
 
SerializableConstructorWithArguments - Class in org.objenesis.tck.candidates
 
SerializableConstructorWithArguments(String, int) - Constructor for class org.objenesis.tck.candidates.SerializableConstructorWithArguments
 
SerializableConstructorWithMandatoryArguments - Class in org.objenesis.tck.candidates
 
SerializableConstructorWithMandatoryArguments(String) - Constructor for class org.objenesis.tck.candidates.SerializableConstructorWithMandatoryArguments
 
SerializableDefaultPackageConstructor - Class in org.objenesis.tck.candidates
 
SerializableDefaultPrivateConstructor - Class in org.objenesis.tck.candidates
 
SerializableDefaultProtectedConstructor - Class in org.objenesis.tck.candidates
 
SerializableDefaultProtectedConstructor() - Constructor for class org.objenesis.tck.candidates.SerializableDefaultProtectedConstructor
 
SerializableDefaultPublicConstructor - Class in org.objenesis.tck.candidates
 
SerializableDefaultPublicConstructor() - Constructor for class org.objenesis.tck.candidates.SerializableDefaultPublicConstructor
 
SerializableNoConstructor - Class in org.objenesis.tck.candidates
 
SerializableNoConstructor() - Constructor for class org.objenesis.tck.candidates.SerializableNoConstructor
 
SerializableReplacer - Class in org.objenesis.tck.candidates
 
SerializableReplacer() - Constructor for class org.objenesis.tck.candidates.SerializableReplacer
 
SerializableResolver - Class in org.objenesis.tck.candidates
 
SerializableResolver() - Constructor for class org.objenesis.tck.candidates.SerializableResolver
 
SerializableWithAncestorThrowingException - Class in org.objenesis.tck.candidates
 
SerializableWithAncestorThrowingException() - Constructor for class org.objenesis.tck.candidates.SerializableWithAncestorThrowingException
 
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
startTest(String, String) - Method in interface org.objenesis.tck.Reporter
Report that a test between a candidate and an objenesis instance if about to start.
startTest(String, String) - Method in class org.objenesis.tck.TextReporter
 
startTests(String, Map<String, Object>, Map<String, Object>) - Method in interface org.objenesis.tck.Reporter
Report that the tests are starting.
startTests(String, Map<String, Object>, Map<String, Object>) - Method in class org.objenesis.tck.TextReporter
 
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
JVM_NAME prefix for Sun Java HotSpot
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

TCK - Class in org.objenesis.tck
Technology Compatibility Kit (TCK) for Objenesiss.
TCK() - Constructor for class org.objenesis.tck.TCK
 
TextReporter - Class in org.objenesis.tck
Reports results from TCK as tabulated text, suitable for dumping to the console or a file and being read by a human.
TextReporter(PrintStream, PrintStream) - Constructor for class org.objenesis.tck.TextReporter
 
toString() - Method in class org.objenesis.ObjenesisBase
 
toString() - Method in class org.objenesis.tck.candidates.ConstructorWithArguments
 
toString() - Method in class org.objenesis.tck.candidates.SerializableConstructorWithArguments
 
type - Variable in class org.objenesis.instantiator.gcj.GCJInstantiatorBase
 

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
 

V

VENDOR - Static variable in class org.objenesis.strategy.PlatformDescription
Vendor name
VENDOR_VERSION - Static variable in class org.objenesis.strategy.PlatformDescription
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

W

writeReplace() - Method in class org.objenesis.tck.candidates.SerializableReplacer
 
A B C D E F G H I J L 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.