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