I've had good success in the past adding @deprecated annotations to the old code when adding new code behind a feature flag.
It makes it much easier to come along later and know which functions can be deleted when the decision is made to kill the old code.