Synopsis: | These rules deal with different problems that can occur with a class' import statements. |
Description: |
These rules deal with different problems that can occur with a class' import statements. |
Name | Checked | Synopsis |
---|---|---|
Import101 | ![]() |
Order import statements. |
ImportStatement1 | ![]() |
Avoid duplicate imports |
ImportStatement2 | ![]() |
Avoid importing anything from the package 'java.lang' |
ImportStatement3 | ![]() |
Avoid unused imports |
ImportStatement4 | ![]() |
No need to import a type that lives in the same package |
ImportStatement100 | ![]() |
Fully qualify imports. |
ImportStatement101 | ![]() |
Order Import Statements. |