public class DefaultInstantiator extends Object implements Instantiator
Constructor and Description |
---|
DefaultInstantiator(Provider<Injector> injector) |
Modifier and Type | Method and Description |
---|---|
<T> T |
instantiate(Class<? extends T> klass) |
protected <T> T |
newInstanceFromClass(Class<? extends T> klass) |
public <T> T instantiate(@Nonnull Class<? extends T> klass)
instantiate
in interface Instantiator