Sender references example in Java