Contains the Imports checks that are bundled with the main distribution.
Check that finds import statements that use the * notation.
Rationale: Importing all classes from a package leads to tight coupling between packages and might lead to problems when a new version of a library introduces name clashes.
An example of how to configure the check is:
<module name="AvoidStarImport"> <property name="excludes" value="java.io,java.net"/> </module>
Checks for imports from a set of illegal packages.
Checks for imports that are redundant.
Checks for unused import statements.