View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.imports.customimportorder;
2   
3   import com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck;
4   import com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck;
5   import com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck;
6   
7   import org.apache.commons.io.ByteOrderMark;
8   
9   import static sun.tools.util.ModifierFilter.ALL_ACCESS;
10  
11  import com.google.common.collect.HashMultimap; //warn, ORDER, should be on THIRD_PARTY_PACKAGE, now SPECIAL_IMPORTS
12  
13  import antlr.*;
14  import antlr.CommonASTWithHiddenTokens;
15  import antlr.Token;
16  import antlr.collections.AST;
17  
18  public class InputCustomImportOrderThirdPartyAndSpecial
19  {
20  }
21  /*
22  test: testThirdPartyAndSpecialImports()
23  configuration:
24          checkConfig.addAttribute("specialImportsRegExp", "antlr.*");
25          checkConfig.addAttribute("customImportOrderRules",
26                  "SAME_PACKAGE(3)###THIRD_PARTY_PACKAGE###STATIC###SPECIAL_IMPORTS");
27  */