org.objenesis.strategy.InstantiatorStrategy Maven / Gradle / Ivy
package org.objenesis.strategy;
import org.objenesis.instantiator.ObjectInstantiator;
/**
* Defines a strategy to determine the best instantiator for a class.
*/
public interface InstantiatorStrategy {
/**
* Create a dedicated instantiator for the given class
*
* @param type Class that will be instantiate
* @return Dedicated instantiator
*/
ObjectInstantiator newInstantiatorOf(Class type);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy