ant: rename method