1
2
3
4
5
6
7
8
9
10 package com.puppycrawl.tools.checkstyle.checks.imports.avoidstaticimport;
11
12 import java.io.*;
13 import java.lang.*;
14 import java.sql.Connection;
15 import java.util.List;
16 import java.util.List;
17 import java.lang.*;
18 import java.util.Iterator;
19 import java.util.Enumeration;
20 import java.util.Arrays;
21
22 import javax.swing.JToolBar;
23 import javax.swing.JToggleButton;
24 import javax.swing.ScrollPaneLayout;
25 import javax.swing.BorderFactory;
26 import static java.io.File.listRoots;
27
28 import static javax.swing.WindowConstants.*;
29 import static java.io.File.createTempFile;
30 import static java.io.File.pathSeparator;
31 import static java.lang.Math.E;
32 import static java.lang.Math.sqrt;
33 import static com.puppycrawl.tools.checkstyle.checks.imports.avoidstaticimport.InputAvoidStaticImportNestedClass.InnerClass;
34 import static com.puppycrawl.tools.checkstyle.checks.imports.avoidstaticimport.InputAvoidStaticImportNestedClass.InnerClass.one;
35
36 import java.awt.Component;
37 import java.awt.Graphics2D;
38 import java.awt.HeadlessException;
39 import java.awt.Label;
40 import java.util.Date;
41 import java.util.Calendar;
42 import java.util.BitSet;
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60 class InputAvoidStaticImportDefault4
61 {
62
63 private Class mUse1 = Connection.class;
64
65 private Class mUse2 = File.class;
66
67 private Class mUse3 = Iterator[].class;
68
69 private Class mUse4 = Enumeration[].class;
70
71 private String ftpClient = null;
72
73
74 {
75 int[] x = {};
76 Arrays.sort(x);
77 Object obj = BorderFactory.createEmptyBorder();
78 File[] files = listRoots();
79 }
80
81
82 private JToolBar.Separator mSep = null;
83
84
85 private Object mUse5 = new Object();
86
87
88 private Object mUse6 = new JToggleButton.ToggleButtonModel();
89
90
91
92 private int Component;
93
94
95
96
97 public void Label() {}
98
99
100
101
102
103
104 public void render() {}
105
106
107
108
109
110
111
112
113
114 public void aMethodWithManyLinks() {}
115 }