Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Checks the ordering/grouping of imports. Features are:<ul>
    <li>groups imports: ensures that groups of imports come in a specific order (e.g., java. comes first, javax. comes second, then everything else)</li>
    <li>adds a separation between groups : ensures that a blank line sit between each group</li>
    <li>sorts imports inside each group: ensures that imports within each group are in lexicographic order</li>
    <li>sorts according to case: ensures that the comparison between imports is case sensitive</li>
    <li>groups static imports: ensures the relative order between regular imports and static imports</li>
New to GrepCode? Check out our FAQ X