Creating Import Statements

In Step 2 of the Import Management Tool wizard, import statements are created when the number of fully qualified names for an identifier exceed the threshold set by the Maximum of Fully-Qualified Names in Source property. (To set this property, choose Project Settings Import Management Tool Settings.)

Similarly, if the number of identifiers used by an import statement is below the Maximum of Fully-Qualified Names in Source threshold, the Import Management tool removes the import statement and creates fully qualified names.

For each identifier listed, the Import Management tool displays:

To override the Import Management tool's suggested actions:

  1. Click the Action you want to change and select a new action from the combo box.

    If the action is Create Import Statement, fully qualified identifiers in the source are replaced with identifiers that are not qualified. Similarly, if the Action is Use FQN and there is currently an import statement for that identifier, the import statement is removed.

    If the action is No Action, the Import Management tool does not recommend any change, but you can still specify Create Import Statement or Use FQN if you like.

The identifiers that appear in this wizard panel do not include identifiers in code generated by the Form Editor, as these cannot be changed.

The identifiers listed might include some identifiers that the Import Management tool can safely ignore, such as classes from the java.lang package, which are automatically imported by default. For example, if you use the identifier String without an import statement or fully qualified name, the Import Management tool recommends No Change, as none is needed. The String identifier is listed in the wizard, however, in case you want to use the fully qualified name.

See also
Using the Import Management Tool
Resolving Identifiers
Removing Unused Import Statements
Configuring the Import Management Tool
Adding an Import Statement With Fast Import

Legal Notices