I have about 100 lines that look like the below:
assertEquals(results.get(0).getID(),1);
They all start with assertEquals and contain two arguments. Im looking f
If you find yourself swapping parameter order in method declarations farily often, I found a plugin that does it for you with a single click.
This plug-in adds two toolbar buttons to the Eclipse Java editor:
Swap backward Swap forward
With the caret at | in:
void process(int age, String |name, boolean member) {...}
clicking the Swap forward button yields:
void process(int age, boolean member, String |name) {...}
or clicking Swap backward button with the original source yields:
void process(String |name, int age, boolean member) {...}
Here is the article discussing it.
Here is the jar to drop into your eclipse plugin directory.