1 package com.sun.checkstyle.test.chapter6declarations.rule61numberperline;
2
3 public class InputMultipleVariableDeclarations
4 {
5 int i, j;
6 int i1; int j1;
7
8 void method1() {
9 String str, str1;
10 java.lang.Object obj; Object obj1;
11 }
12
13
14 java.lang.String string; java.lang.String
15 strings[];
16
17 java.lang.
18 String string1; java.lang.String
19 strings1[];
20
21 void method2() {
22 for (int i=0, j=0; i < 10; i++, j--) {
23 }
24
25 for(int i=0; i<4;i++) {
26
27 }
28 }
29
30 class Inner {
31 int i, j;
32 int i1; int j1;
33
34 void method1() {
35 String str, str1;
36 java.lang.Object obj; Object obj1;
37 }
38
39
40 java.lang.String string; java.lang.String
41 strings[];
42
43 java.lang.
44 String string1; java.lang.String
45 strings1[];
46
47 void method2() {
48 for (int i=0, j=0; i < 10; i++, j--) {
49 }
50
51 for(int i=0; i<4;i++) {
52
53 }
54 }
55 Inner anon = new Inner()
56 {
57 int i, j;
58 int i1; int j1;
59
60 void method1() {
61 String str, str1;
62 java.lang.Object obj; Object obj1;
63 }
64
65
66 java.lang.String string; java.lang.String
67 strings[];
68
69 java.lang.
70 String string1; java.lang.String
71 strings1[];
72
73 void method2() {
74 for (int i=0, j=0; i < 10; i++, j--) {
75 }
76
77 for(int i=0; i<4;i++) {
78
79 }
80 }
81 };
82 }
83 }
84
85 class Suppress {
86 @SuppressWarnings("unused")
87 long q1, q2, q3;
88
89 @SuppressWarnings("unused") long q4, q5, q6;
90 }