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