I have refactored my method using "Introduce a parameter" as it was accepting a lot of variables. but now all the callers have inline cosntructor as
this.somemethod(new MyParam("a", "b","c","d");
i would like to refactor it by replacing constructor with setters like
MyParam myParam= new MyParam();
myParam.setA("a");........
.
.
this.somemethod(myParam);
Is there someway to do this ??
there was a similar bug reported on eclipse https://bugs.eclipse.org/bugs/show_bug.cgi?id=105324