A
- the type of the argumentR
- the type of the return type (the class to instantiate)public class SingleArgumentFactoryMethodInstantiator<A,R> extends SingleArgumentInvokableInstantiator<A,R>
instanceClass
Constructor and Description |
---|
SingleArgumentFactoryMethodInstantiator(java.lang.Class<R> instanceClass,
java.lang.Class<A> constructorArgumentClass) |
Modifier and Type | Method and Description |
---|---|
protected com.google.common.reflect.Invokable<R,R> |
invokableFor(java.lang.Class<A> argumentClass) |
create
protected com.google.common.reflect.Invokable<R,R> invokableFor(java.lang.Class<A> argumentClass)
invokableFor
in class SingleArgumentInvokableInstantiator<A,R>