/** * Returns a new ValueEditor that modifies the given {@link TakesValue} peer * instance. * * @param peer a {@link TakesValue} instance * @return a TakesValueEditor instance of the same type as its peer */ public static <T> TakesValueEditor<T> of(TakesValue<T> peer) { return new TakesValueEditor<T>(peer); }
/** * Returns a new ValueEditor that modifies the given {@link TakesValue} peer * instance. * * @param peer a {@link TakesValue} instance * @return a TakesValueEditor instance of the same type as its peer */ public static <T> TakesValueEditor<T> of(TakesValue<T> peer) { return new TakesValueEditor<T>(peer); }
/** * Returns a new ValueEditor that modifies the given {@link TakesValue} peer * instance. * * @param peer a {@link TakesValue} instance * @return a TakesValueEditor instance of the same type as its peer */ public static <T> TakesValueEditor<T> of(TakesValue<T> peer) { return new TakesValueEditor<T>(peer); }