Package org.objenesis.instantiator.basic
package org.objenesis.instantiator.basic
-
ClassesClassDescriptionInstantiates a class by grabbing the no-args constructor, making it accessible and then calling Constructor.newInstance().Instantiates a class by grabbing the no args constructor and calling Constructor.newInstance().Helper class extended by instantiators for which the implementation was moved to the exotic project.The instantiator that always throws an exception.The simplest instantiator - simply calls Class.newInstance().The instantiator that always return a null instanceInstantiates a class by using a dummy input stream that always feeds data for an empty object of the same kind.Instantiates a class by using reflection to make a call to private method ObjectStreamClass.newInstance, present in many JVM implementations.Shell keeping compatibility but delegating to objenesis-exotic which contains the real implementation.