All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.objenesis.instantiator.NullInstantiator Maven / Gradle / Ivy

There is a newer version: 2.0.2-beta
Show newest version
package org.objenesis.instantiator;

/**
 * The instantiator that always return a null instance
 * 
 * @author Henri Tremblay
 */
public class NullInstantiator implements ObjectInstantiator {

   /**
    * @return Always null
    */
   public Object newInstance() {
      return null;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy