|
Re: Refactor To Pull Method Up Into An Interface [message #217828 is a reply to message #217812] |
Tue, 25 October 2005 17:21  |
Eclipse User |
|
|
|
/Jeff Brown/:
> I would like to refactor a method to "pull up" into an interface. I
> don't want to create a new interface but I do want to move a method into
> an interface that this class already implements. The Refactor->Pull Up
> seems to work for pulling methods up into a parent class, but not
> interfaces.
>
> Is this do-able?
Yes, it is doable using "Quick Fix -> Create in super type ..."
option instead of "Refactor -> Pull Up...". Here are the related
Bugzilla issues:
Bug 89352 - "Create in supertype" QuickFix should be a Refactoring
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=89352>
marked duplicate of:
Bug 30826 - Pull Up should support pulling up static fields and
methods into an interface [refactoring]
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=30826>
--
Stanimir
|
|
|
Powered by
FUDForum. Page generated in 0.05008 seconds