org.sonar.l10n.checkstyle.com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck.html Maven / Gradle / Ivy
Checks the ordering/grouping of imports. Features are:
- groups imports: ensures that groups of imports come in a specific order (e.g., java. comes first, javax. comes second, then everything else)
- adds a separation between groups : ensures that a blank line sit between each group
- sorts imports inside each group: ensures that imports within each group are in lexicographic order
- sorts according to case: ensures that the comparison between imports is case sensitive
- groups static imports: ensures the relative order between regular imports and static imports
© 2015 - 2025 Weber Informatics LLC | Privacy Policy