[Java] Add comments