Download RefactorIT User Manual
Transcript
RefactorIT Manual Renaming a Package Renaming a package changes the name of a package. All references (FQNs, package and import statements) in all source files are updated correspondingly. In the following dialog box, package com will be renamed to org: Note that with these settings package com.company will not be renamed because "rename prefixes of all matching packages" is turned off. (For safety reasons, this is the default behavior.) So, although packages are not actually hierarchical in Java, there is an option to treat them as such and rename all packages starting with a particular prefix, as illustrated in the following screenshot: Page 86