Java source refactoring of 7000 references

前端 未结 12 1124
醉梦人生
醉梦人生 2020-12-25 13:05

I need to change the signature of a method used all over the codebase.

Specifically, the method void log(String) will take two additional arguments (

12条回答
  •  攒了一身酷
    2020-12-25 13:36

    I would search and replace log( with log(@class, @methodname,

    Then write a little script in any language (even java) to find the class name and the method names and to replace the @class and @method tokens...

    Good luck

提交回复
热议问题