Move Refactor

When working on a project, time and effort must be spent on organizing the code into certain packages using a standard naming convention. If the package organization changes or the package name changes, a developer has to go through all the classes and change the imports and class creation code. Depending on the number of classes and where the class is created, it is a tedious and manual effort. The move refactor method automatically moves a class from one package to another package.

NOTE

The move refactor does not work if the package you are moving the class to already contains a class with the same name.

To move a class from one package to another, the project must be compiled and up-to-date. After the project is up-to-date, ...

Get Borland® JBuilder™ Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.