1
2 package com.puppycrawl.tools.checkstyle.xpath.xpathquerygenerator;
3
4 import javax.swing.JToolBar;
5 import java.io.File;
6 import java.sql.Connection;
7 import java.util.Arrays;
8 import java.util.Iterator;
9
10 import static java.io.File.listRoots;
11
12 public class InputXpathQueryGenerator {
13
14 private Class mUse1 = Connection.class;
15 private Class mUse2 = java.io.File.class;
16 private Class mUse3 = Iterator[].class;
17 private Class mUse4 = java.util.Enumeration[].class;
18 private String ftpClient = null;
19
20 {
21 int[] x = {};
22 Arrays.sort(x);
23 Object obj = javax.swing.BorderFactory.createEmptyBorder();
24 File[] files = listRoots();
25 }
26
27 private JToolBar.Separator mSep = null;
28
29 private Object mUse5 = new Object();
30
31 private Object mUse6 = new javax.swing.JToggleButton.ToggleButtonModel();
32
33 private int Component;
34
35 public void Label() {
36 int i = 23;
37 switch (i) {
38 default:
39 break;
40 case 1:
41 break;
42 }
43 }
44
45 public void callSomeMethod() {
46 int variable = 123;
47 String another = "HelloWorld";
48 String[] array = new String[3];
49 for (String cycle : array) {
50 char a = 'b';
51 char b = a;
52 byte c = 1;
53 short d = 1;
54 }
55 }
56
57
58
59
60
61 public String getSomeMethod() {
62 return "HelloWorld";
63 }
64
65 static void foo() {
66 for (int i = 0; i < 10; i++, i+=2) {
67
68 }
69 return;
70 }
71
72 private boolean saveUser(String name, String surname, int age) {
73 return true;
74 }
75 }