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