|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objenesis.instantiator.basic.ConstructorInstantiator
org.objenesis.instantiator.basic.AccessibleInstantiator
public class AccessibleInstantiator
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).
ObjectInstantiator| Field Summary |
|---|
| Fields inherited from class org.objenesis.instantiator.basic.ConstructorInstantiator |
|---|
constructor |
| Constructor Summary | |
|---|---|
AccessibleInstantiator(java.lang.Class type)
|
|
| Method Summary |
|---|
| Methods inherited from class org.objenesis.instantiator.basic.ConstructorInstantiator |
|---|
newInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessibleInstantiator(java.lang.Class type)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||