1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package com.google.checkstyle.test.chapter4formatting.rule461verticalwhitespace;
21
22 import java.util.concurrent.Callable;
23
24 class InputFormattedVerticalWhitespace {
25 public static final double FOO_PI = 3.1415;
26 private boolean flag = true;
27
28 static {
29
30 }
31
32 {
33
34 }
35
36
37 private InputFormattedVerticalWhitespace() {
38
39 }
40
41 public int compareTo(InputFormattedVerticalWhitespace obj) {
42 int number = 0;
43 return 0;
44 }
45
46
47
48
49
50
51
52
53 public static <T> Callable<T> callable(Runnable task, T result) {
54
55 return null;
56 }
57
58 public int getBeastNumber() {
59 return 666;
60 }
61
62 interface IntEnum {}
63
64 class InnerClass {
65
66 public static final double FOO_PI_INNER = 3.1415;
67 private boolean flagInner = true;
68
69 {
70
71 }
72
73 private InnerClass() {
74
75 }
76 }
77
78 class InnerClass2 {
79 private InnerClass2() {
80
81 }
82 }
83
84 class InnerClass3 {
85 public int compareTo(InputFormattedVerticalWhitespace obj) {
86 int number = 0;
87 return 0;
88 }
89 }
90
91 class Clazz {
92 private Clazz() {}
93 }
94
95 class Class2 {
96 public int compareTo(InputFormattedVerticalWhitespace obj) {
97 int number = 0;
98 return 0;
99 }
100
101 Class2 anon =
102 new Class2() {
103 public int compareTo(InputFormattedVerticalWhitespace obj) {
104 int number = 0;
105 return 0;
106 }
107 };
108 }
109 }