It doesn't work as expected. It will still call the same object's method. The lint warning is correct. This is because a final field of the delegate is created so it can't be modified even though your sent field is mutable.
👍 1
d
Dmitry Khasanov
02/25/2019, 7:58 AM
thanks for explanation! Do you think I have another option than implementing all methods of Player interface and delegating manually to mutable field currentPlayer ?