Re: Java classes and package renaming tool?
From: Juha Laiho (Juha.Laiho_at_iki.fi)
Date: 10/16/03
- Next message: VisionSet: "Re: java String split returns an additional first empty string"
- Previous message: Hanif: "java String split returns an additional first empty string"
- In reply to: Alex Hunsley: "Java classes and package renaming tool?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 16 Oct 2003 15:27:00 GMT
Alex Hunsley <lard@tardis.ed.ac.molar.uk> said:
>I'm refactoring some existing java code soon, and I need to rename quite
>a few classes and a few packages. Is there some sort of tool available
>that renames classes/packages by renaming the actual files, and then
>corrects the references in the code? If not, I was thinking of writing a
>perl script to do such a thing (regexps would be handy, if dangerous!).
If I'm not mistaken, this action of renaming classes and packages,
moving classes from package to another, and even rearranging methods
between classes is called refactoring. So, you might find something
you're looking for by keyword "refactoring tools". As I understand,
the Eclipse IDE (that was suggested in another response) has rather
good refactoring support.
--
Wolf a.k.a. Juha Laiho Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)
- Next message: VisionSet: "Re: java String split returns an additional first empty string"
- Previous message: Hanif: "java String split returns an additional first empty string"
- In reply to: Alex Hunsley: "Java classes and package renaming tool?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|