I'm looking for a suggestion on how to refactor a +50K lines of Java.
Inspired by version 2.x of the AWS SDK for Java, which has many builders and almost no getters / setters that start with a leading get / set such as getNum(), setNum(double x), etc. The shortened notation is very concise and formatters will definitely make many lines fit on one line.
The problem is that going one by one is cumbersome and error prone (even with finding all get / set occurrences). I tried to replace getX / setX alphabetically but this is still very cumbersome and error prone.
I'm working with Eclipse on Ubuntu, so any sed, find, etc. suggestions are welcome as well. Any suggestions on how to do this refactoring elegantly?