Renaming a lot of variables in many Java classes at once

前端 未结 6 1097
清酒与你
清酒与你 2021-01-04 01:51

I work in a pretty large Java-project (2500+ classes) that uses an old code standard where all member variables are prefixed with \"m_\" (e.g m_temperature). There is reall

6条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-04 02:00

    Theres a question on SC which is about a massive refactoring in java too. The best answer is using japvaparser and implementing a visitor to do the actual refactoring. This shouldn't be that much work for a simple rename.

提交回复
热议问题