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().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.This instantiator creates a class by dynamically extending it.