- All Implemented Interfaces:
- ObjectInstantiator<T>
public class AccessibleInstantiator<T>
extends ConstructorInstantiator<T>
Instantiates a class by grabbing the no-args constructor, making it accessible and then calling
Constructor.newInstance(). Although this still requires no-arg constructors, it can call
non-public constructors (if the security manager allows it).
- See Also:
ObjectInstantiator