Reporter | Joshua McKinney (joshka) |
---|---|
Created | Apr 15, 2012 9:40:41 AM |
Updated | Apr 16, 2012 9:02:14 PM |
Priority | Normal |
Type | Feature |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Sergey Shkredov (serjic.shkredov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
Move to folder refactoring allows creation of a new folder, however move to another type refactoring does not allow creation of a new type. This would be perfectly useful for static methods.
e.g.
class A
{
void Foo() { Bar(); }
private static void Bar() { }
}
becomes:
class A
{
void Foo() { B.Bar(); }
}
class B
{
public static void Bar() { }
}
e.g.
class A
{
void Foo() { Bar(); }
private static void Bar() { }
}
becomes:
class A
{
void Foo() { B.Bar(); }
}
class B
{
public static void Bar() { }
}