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