| Modifier and Type | Class and Description |
|---|---|
| public class | AccessibleInstantiator<T>
Instantiates a class by grabbing the no-args constructor, making it accessible and then calling Constructor.newInstance(). |
| public class | ConstructorInstantiator<
Type instantiated T>Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance(). |
| public abstract class | DelegatingToExoticInstantiator<
type of the class instantiated T>Helper class extended by instantiators for which the implementation was moved to the exotic project. |
| public class | |
| public class | |
| public class | |
| public class | ObjectInputStreamInstantiator<T>
Instantiates a class by using a dummy input stream that always feeds data for an empty object of the same kind. |
| public class | ObjectStreamClassInstantiator<T>
Instantiates a class by using reflection to make a call to private method ObjectStreamClass.newInstance, present in many JVM implementations. |
| public class | ProxyingInstantiator<
type of the class instantiated T>Shell keeping compatibility but delegating to objenesis-exotic which contains the real implementation. |