forked from checkstyle/checkstyle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
import-control.xml
62 lines (53 loc) · 1.92 KB
/
import-control.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<?xml version="1.0"?>
<!DOCTYPE import-control PUBLIC
"-//Puppy Crawl//DTD Import Control 1.1//EN"
"http://www.puppycrawl.com/dtds/import_control_1_1.dtd">
<import-control pkg="com.puppycrawl.tools.checkstyle">
<allow pkg="antlr"/>
<allow pkg="com.google.common.base"/>
<allow pkg="com.google.common.collect"/>
<allow pkg="com.puppycrawl.tools.checkstyle.api"/>
<allow pkg="java.io"/>
<allow pkg="java.net"/>
<allow pkg="java.nio"/>
<allow pkg="java.util"/>
<allow pkg="javax.xml.parsers"/>
<allow pkg="org.apache.commons.beanutils"/>
<allow pkg="org.apache.commons.logging"/>
<allow pkg="org.xml.sax"/>
<!-- The local ones -->
<allow class="java.security.MessageDigest" local-only="true"/>
<allow pkg="com.puppycrawl.tools.checkstyle.grammars" local-only="true"/>
<allow pkg="org.apache.commons.cli" local-only="true"/>
<allow pkg="org.apache.tools.ant" local-only="true"/>
<subpackage name="api">
<allow pkg="java.beans"/>
<allow pkg="java.lang.reflect"/>
<allow pkg="java.text"/>
<allow class="com.puppycrawl.tools.checkstyle.grammars.CommentListener"
local-only="true"/>
<allow class="com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes"
local-only="true"/>
</subpackage>
<subpackage name="checks">
<allow pkg="com.puppycrawl.tools.checkstyle.checks"/>
<allow class="com.puppycrawl.tools.checkstyle.Defn"/>
<allow pkg="java.math"/>
<subpackage name="indentation">
<allow pkg="java.lang.reflect"/>
</subpackage>
<subpackage name="header">
<allow class="java.nio.charset.Charset" local-only="true"/>
</subpackage>
</subpackage>
<subpackage name="doclets">
<allow pkg="com.sun.javadoc"/>
</subpackage>
<subpackage name="filters">
<allow pkg="java.lang.ref"/>
</subpackage>
<subpackage name="gui">
<allow pkg="java.awt"/>
<allow pkg="javax.swing"/>
</subpackage>
</import-control>