Extract method to helper class.
Issue #1326
resolved
when you have a instance method that doesn’t have any reference to instance variables it would be good to have an option to extract to existing helper class or to a new class.
Does that make sense? Let me know if you need further clarification.
thanks
Comments (3)
-
repo owner -
reporter Ok fair enough. sounds good.
-
reporter - changed status to resolved
extract method implemented.
- Log in to comment
What you're saying makes sense. It will likely materialize via the move refactoring so that it will be two steps: 1) extract static method (no access to members); 2) move static method to helper class. That's exactly how it would be done in JetBrains' Java IDE as it doesn't allow you to extract a method directly into another class.