[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.newcomer] Moving inner class to package
|
If I have an inner class:
-----------------------------
package ca.here
public class MyClass
{
public class OtherClass
{
}
}
-----------------------------
How do I refactor OtherClass so that both are in the package:
-----------------------------
package ca.here
public class MyClass
{
}
package ca.here
public class OtherClass
{
}
-----------------------------
Other than manually creating a new class in the package, then cut/paste
the contents of the inner class into the new class. Then fixing all the
compiler errors.
--
Wojtek :-)