-
Wildcard imports can be used for:
- more than 5 class imports;
- more than 3 name imports;
- import statements are not line-wrapped (column limit does not apply);
-
following import ordering applies:
- all imports not pertaining to any of the groups listed below
blank line
javax.*
classesjava.*
classesblank line
- all static imports in single block
- items in each block are ordered by names in ASCII sort order (since
;
sorts before.
)