Esempio n. 1
0
 public boolean supports(Copy<?, ?> operation) {
   return operation.getTargetPosition() instanceof Position.Writable
       && TherianContext.getRequiredInstance()
           .eval(ImmutableCheck.of(operation.getTargetPosition()))
           .booleanValue();
 }
Esempio n. 2
0
 public void perform(Copy<?, ?> operation) {
   final Convert<?, ?> convert =
       Convert.to(
           (Position.Writable<?>) operation.getTargetPosition(), operation.getSourcePosition());
   TherianContext.getRequiredInstance().forwardTo(convert);
 }