Description:
This rule helps construct an optimal import list. It collects references to used classes and revises the import list according to the settings. Furthermore, the audit detects duplicate import declarations, explicitly imported java.lang classes and the source file's package, and unused imported items.