Java doesn't work like that