1
2
3
4
5
6
7
8
9
10
11
12
13
14 package com.puppycrawl.tools.checkstyle.checks.javadoc.missingjavadocmethod;
15
16
17
18
19 public class InputMissingJavadocMethodPublicOnly
20 {
21 private interface InnerInterface
22 {
23 String CONST = "InnerInterface";
24 void method();
25
26 class InnerInnerClass
27 {
28 private int mData;
29
30 private InnerInnerClass()
31 {
32 final Runnable r = new Runnable() {
33 public void run() {};
34 };
35 }
36
37 void method2()
38 {
39 final Runnable r = new Runnable() {
40 public void run() {};
41 };
42 }
43 }
44 }
45
46 private class InnerClass
47 {
48 private int mDiff;
49
50 void method()
51 {
52 }
53 }
54
55 private int mSize;
56 int mLen;
57 protected int mDeer;
58 public int aFreddo;
59
60 private InputMissingJavadocMethodPublicOnly(int aA)
61 {
62 }
63
64 InputMissingJavadocMethodPublicOnly(String aA)
65 {
66 }
67
68 protected InputMissingJavadocMethodPublicOnly(Object aA)
69 {
70 }
71
72 public InputMissingJavadocMethodPublicOnly(Class<Object> aA)
73 {
74 }
75
76 private void method(int aA)
77 {
78 }
79
80 void method(Long aA)
81 {
82 }
83
84 protected void method(Class<Object> aA)
85 {
86 }
87
88 public void method(StringBuffer aA)
89 {
90 }
91
92
93
94
95
96
97 private void method(String aA)
98 {
99 }
100
101
102
103
104 public class InnerWithoutAuthor
105 {
106
107 }
108
109
110 public String toString()
111 {
112 return super.toString();
113 }
114
115 @Deprecated @Override
116 public int hashCode()
117 {
118 return super.hashCode();
119 }
120 }