# Package groovy.org.codenarc.rule.imports

- Class Summary
  Class | Description
  --- | ---
  AbstractImportRule | Abstract class with common functionalities for import-related rules.
  DuplicateImportRule | Rule that checks for a duplicate import
  ImportFromSamePackageRule | Checks for an import of a class that is within the same package as the importing class.
  ImportFromSunPackagesRule | Avoid importing anything from the 'sun.*' packages.
  MisorderedStaticImportsRule | Static imports should be before nonstatic imports
  NoWildcardImportsRule | Wildcard imports, static or otherwise, are not used.

  UnnecessaryGroovyImportRule

  Rule that checks for non-static imports from any packages that are automatically imported by Groovy, including:
  - java.io
  - java.lang
  - java.net
  - java.util
  - java.math.BigDecimal
  - java.math.BigInteger
  - groovy.lang
  - groovy.util

  UnusedImportRule | Rule that checks for an unreferenced import