1
2
3
4
5
6
7
8
9
10 package com.puppycrawl.tools.checkstyle.checks.imports.avoidstarimport;
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.AbstractMethodError;
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 javax.swing.WindowConstants.*;
30 import static java.io.File.createTempFile;
31 import static java.io.File.*;
32
33 import java.awt.Component;
34 import java.awt.Graphics2D;
35 import java.awt.HeadlessException;
36 import java.awt.Label;
37 import java.util.Date;
38 import java.util.Calendar;
39 import java.util.BitSet;
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57 class InputAvoidStarImportAllowClass
58 {
59
60 private Class mUse1 = Connection.class;
61
62 private Class mUse2 = java.io.File.class;
63
64 private Class mUse3 = Iterator[].class;
65
66 private Class mUse4 = java.util.Enumeration[].class;
67
68 private String ftpClient = null;
69
70
71 {
72 int[] x = {};
73 Arrays.sort(x);
74 Object obj = javax.swing.BorderFactory.createEmptyBorder();
75 File[] files = listRoots();
76 }
77
78
79 private JToolBar.Separator mSep = null;
80
81
82 private Object mUse5 = new Object();
83
84
85 private Object mUse6 = new javax.swing.JToggleButton.ToggleButtonModel();
86
87
88
89 private int Component;
90
91
92
93
94 public void Label() {}
95
96
97
98
99
100
101 public void render() {}
102
103
104
105
106
107
108
109
110
111 public void aMethodWithManyLinks() {}
112 }