Jens Peter Grosen wrote:
> You can do it by using inline method.
> ...
> "Hand code to"

True, but at least for me this is important enough to avoid the
hand-coding step.  It's a component of a very common idiom for me for
the composite "Move Method" refactoring:

1) Turn dynamic to static:
   obj1.doSomething(obj2) => Class1.doSomething(obj1, ob2) 

2) Move static method:
   Class1.doSomething(obj1, obj2) => Class2.doSomething(obj1, obj2)

3) Turn static to dynamic:
   Class2.doSomething(obj1, obj2) => obj2.doSomething(obj1)

As it stands, I actually find myself jumping over into Xref to do the
final step, which is faster than the "hand coded" method you mention. 
Is the refactoring harder than it looks?  Thanks,

   David Saff

_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://lists.jetbrains.com/mailman/listinfo/eap-features

Reply via email to