Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » pull up on interfaces
pull up on interfaces [message #172335] Mon, 09 August 2004 03:05 Go to next message
Eclipse UserFriend
Why isn't the "pull up" refactoring available for interfaces?
Re: pull up on interfaces [message #172350 is a reply to message #172335] Mon, 09 August 2004 03:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: bob.news.gmx.net

"Zohar" <david_fire4@hotmail.com> schrieb im Newsbeitrag
news:cf77lj$is$1@eclipse.org...
> Why isn't the "pull up" refactoring available for interfaces?
>

Probably because you can't automated make sure that all classes
implementing only the super interface compile correctly afterwards.

robert
Re: pull up on interfaces [message #180160 is a reply to message #172350] Thu, 30 September 2004 02:55 Go to previous messageGo to next message
Eclipse UserFriend
Robert Klemme wrote:
> "Zohar" <david_fire4@hotmail.com> schrieb im Newsbeitrag
> news:cf77lj$is$1@eclipse.org...
>
>>Why isn't the "pull up" refactoring available for interfaces?
>>
>
>
> Probably because you can't automated make sure that all classes
> implementing only the super interface compile correctly afterwards.
>
> robert
>


You can automatically generate all implementations using code templates.
Or you can leave it to user because JDT compiler will anyway show that
you need to implement it. Pull & Move method should support this case!
Re: pull up on interfaces [message #180235 is a reply to message #172335] Thu, 30 September 2004 06:03 Go to previous message
Eclipse UserFriend
Zohar wrote:
> Why isn't the "pull up" refactoring available for interfaces?

Search bugzilla for "pull up interface" and you'll find bug 30826.

Markus
Previous Topic:CVS Branching - Best Practice for multiple dependent projects?
Next Topic:The Tiger has been unleashed
Goto Forum:
  


Current Time: Wed Sep 24 16:36:50 EDT 2025

Powered by FUDForum. Page generated in 0.03808 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top