Configuring the Import Management Tool

The following table lists the Import Management Tool Settings.
Property Description
Guessing Strategy for Unresolved Identifiers If set to Do Not Resolve, the Import Management Tool does not attempt to guess the package name for unresolved identifiers.

If set to Search in Well-Known Packages, the packages in the List of Well-Known Packages property are searched for unresolved identifiers. If unresolved identifiers are found, a package is suggested in Step 1. You can override all Import Management Tool suggested actions.

List of Well-Known Packages List of commonly used package names, such as javax.swing, java.util, and your own packages, that are searched for unresolved identifiers. This list is used only if the Guessing Strategy for Unresolved Identifiers is set to Search in Well-Known Packages.
Maximum of Fully Qualified Names in Source The maximum number of times a fully qualified name is used in a source file before the Import Management Tool suggests replacing the fully qualified names with an import statement, and vice versa.
Number of Single-Name Imports The maximum number of classes to import from any given package.

If a source file contains more single-name import statements from a package than this threshold, the Import Management Tool changes the single-name imports into a package import. Similarly, if a source file contains fewer classes than this threshold from a single package, the package import statement is changed to single-name import statements.

Remove Unused Import Clause If True, the Import Management Tool removes unused import statements by default, but you can override this action in Step 3 of the wizard. If False, unused import statements are never removed.
See also
Using the Import Management Tool
Resolving Identifiers
Creating Import Statements
Removing Unused Import Statements
Adding an Import Statement With Fast Import

Legal Notices