1
2
3
4
5
6
7
8
9
10
11
12 package com.puppycrawl.tools.checkstyle.checks.naming.membername;
13
14
15
16
17
18 class InputMemberNameInner
19 {
20
21 class InnerInner2
22 {
23
24 public int fData;
25 }
26
27
28 interface InnerInterface2
29 {
30
31 String data = "zxzc";
32
33
34 class InnerInterfaceInnerClass
35 {
36
37 public int rData;
38
39
40 protected int protectedVariable;
41
42
43 int packageVariable;
44 }
45 }
46
47
48 protected static Object sWeird = new Object();
49
50 static Object sWeird2 = new Object();
51
52
53 public interface Inter
54 {
55 }
56
57 public static void main()
58 {
59 Inter m = new Inter()
60 {
61 private static final int CDS = 1;
62
63 private int ABC;
64 };
65 }
66
67
68 @interface InnerAnnotation
69 {
70
71 String data = "zxzc";
72 }
73
74
75 enum InnerEnum
76 {
77
78 A,
79
80
81 B;
82
83
84 public int someValue;
85 }
86 }