TICS Coding Standard Viewer 
TIOBE Software Quality Framework
Print-friendly version
©TIOBE Software www.tiobe.com
 
TIOBE - Java Coding Standard
Search

Category: ImportStatement

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.

Coding Rules

NameCheckedSynopsis
Import101 Checked automatically with code checker Order import statements.
ImportStatement1 Checked automatically with code checker Avoid duplicate imports
ImportStatement2 Checked automatically with code checker Avoid importing anything from the package 'java.lang'
ImportStatement3 Checked automatically with code checker Avoid unused imports
ImportStatement4 Checked automatically with code checker No need to import a type that lives in the same package
ImportStatement100 Checked automatically with code checker Fully qualify imports.
ImportStatement101 Checked automatically with code checker Order Import Statements.