Re: Merge classes refactoring tool?

"K. Cassell" <[email protected]> Thu, 16 Sep 2010 19:28:34 -0000
Newsgroups gmane.comp.programming.refactoring
Message-ID <[email protected]>
--- In [email protected], Adam Sroka <adam.sroka@...> wrote:
>
> What do you mean by "merge classes?" If you mean what I think you mean then
> I can think of several ways to do it.

Yes, it means what you think it means.  ;)  When I mentioned merging classes, I was actually thinking of "Inline Class" as described at http://sourcemaking.com/refactoring/inline-class.  

> The simplest way would be to just move
> all the members from one class to the other and then delete the empty class.
> All of the major Java IDEs can do this.

That's a good idea, although Eclipse seems mighty picky about where it will let me move members.  It seems easier to move things manually than to use their move refactorings.

> On Wed, Sep 15, 2010 at 8:07 PM, K. Cassell <kcassell2001@...> wrote:
> > Is anybody aware of a tool or plug-in that can be used to merge Java
> > classes?

Cheers,
Keith




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/refactoring/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/refactoring/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/