View Javadoc
1   /*
2   ImportOrder
3   option = top
4   groups = java, org
5   ordered = (default)true
6   separated = true
7   separatedStaticGroups = (default)false
8   caseSensitive = (default)true
9   staticGroups = (default)
10  sortStaticImportsAlphabetically = (default)false
11  useContainerOrderingForStatic = (default)false
12  tokens = (default)STATIC_IMPORT
13  
14  
15  */
16  
17  package com.puppycrawl.tools.checkstyle.checks.imports.importorder;
18  
19  import static java.lang.Math.abs;
20  
21  import static java.lang.Math.cos; // violation 'Extra separation in import group before 'java.lang.Math.cos''
22  
23  import static org.junit.Assert.assertEquals; // violation 'Extra separation in import group before 'org.junit.Assert.assertEquals''
24  import static org.junit.Assert.fail;
25  
26  public class InputImportOrderStaticGroupSeparated {
27      void method() {
28      }
29  }