/** * Construct a new instance. * * @param target the object upon which the method is to be called * @param method the method to invoke * @return the new instance */ public static <T> Injector<T> create(final Value<?> target, final Method method) { return new SetMethodInjector<T>(target, method); }
/** * Construct a new instance. * * @param target the object upon which the method is to be called * @param method the method to invoke * @return the new instance */ public static <T> Injector<T> create(final Value<?> target, final Method method) { return new SetMethodInjector<T>(target, method); }