1 package com.puppycrawl.tools.checkstyle.checks.design.innertypelast;
2
3 public class InputInnerTypeLastClass {
4 public int test1 = 100;
5
6 public void methodTestInner1() {
7 double test2 = 200;
8
9 class InnerInMethod1 {
10 void methodTest1() {
11 System.identityHashCode("test1");
12 }
13 }
14
15 int test3 = 300;
16 }
17
18 public void methodTestInner2() {
19 int test5 = 500;
20
21 class InnerInMethod2 {
22 int test6 = 500;
23 }
24
25 int test6 = 600;
26 int test8 = 800;
27 }
28
29 class Inner1 {
30 int test4 = 400;
31
32 public void methodTestInner3() {
33 int test9 = 500;
34
35 class InnerInMethod3 {
36 int test10 = 500;
37 }
38
39 int test11 = 600;
40 int test12 = 800;
41 }
42 }
43
44 void methodTest2() {
45 System.identityHashCode("test2");
46 }
47 }
48
49 class Temp2 {
50 class Inner1 {
51 int test4 = 400;
52
53 public void methodTestInner3() {
54 int test9 = 500;
55
56 class InnerInMethod3 {
57 int test10 = 500;
58 }
59
60 int test11 = 600;
61 int test12 = 800;
62 }
63 }
64
65 void methodTest2() {
66 System.identityHashCode("test2");
67 }
68
69 private int i = 0;
70 }
71
72 class Temp3 {
73
74 class InnerCheck {
75 private int I = 0;
76 }
77
78 public int[] getDefaultTokens()
79 {
80 return new int[]{1, };
81 }
82 }
83
84 class Temp4 {
85
86 class InnerCheck {
87 class InnerInnerCheck {
88 private int a = 0;
89 }
90
91 class InnerInnerCheck2 {
92 private int a = 0;
93 }
94
95 private int I = 0;
96 }
97 }