How to move all methods to another class
Hello
I'm going to move lots of static methods in static class B into static class A, but it's very tedious that I move them one by one by select the method => refactor => move => select the target class, would it be possible that I refactor all of the static method with only fewer button click?
static class A{
}
static class B{
// nearly 50 static methods
}
Please sign in to leave a comment.
If you have an entry where all the static methods called, you can move them from there - move the caret on the static method call, select all static members in current context, and give a qualified target type.