| Class | Description |
|---|---|
| AccessibleInstantiator |
Instantiates a class by grabbing the no-args constructor, making it accessible and then calling
Constructor.newInstance().
|
| ConstructorInstantiator |
Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().
|
| NewInstanceInstantiator |
The simplest instantiator - simply calls Class.newInstance().
|
| ObjectInputStreamInstantiator |
Instantiates a class by using a dummy input stream that always feeds data for an empty object of
the same kind.
|
| ObjectStreamClassInstantiator |
Instantiates a class by using reflection to make a call to private method
ObjectStreamClass.newInstance, present in many JVM implementations.
|
Copyright © 2018. All rights reserved.