1
2
3
4
5
6
7
8
9
10
11
12
13
14 package com.puppycrawl.tools.checkstyle.checks.javadoc.missingjavadocmethod;
15
16 import java.lang.annotation.ElementType;
17 import java.lang.annotation.Target;
18
19
20 public class InputMissingJavadocMethodPublicMethods {
21
22 public void annotation(final char @SomeAnnotation [] arg) {}
23
24 public @SomeAnnotation String @SomeAnnotation [] annotationInSignature() {
25 return new String[]{};
26 }
27
28 public static <T> T[] typeInSignature(T[] array) {
29 return null;
30 }
31 public static <T> T[][] typeInSignature2(T[][] array) {
32 return null;
33 }
34
35 public static void main(String[] args) throws Exception {}
36
37
38
39
40 public void annotation1(final char @SomeAnnotation [] arg) {}
41
42
43
44
45 public @SomeAnnotation String @SomeAnnotation [] annotationInSignature1() {
46 return new String[]{};
47 }
48
49
50
51
52 public static <T> T[] typeInSignature3(T[] array) {
53 return null;
54 }
55
56
57
58
59 public static <T> T[][] typeInSignature4(T[][] array) {
60 return null;
61 }
62
63
64
65
66 public static void mainWithArgs(String[] args) throws Exception {}
67
68 @Target(ElementType.TYPE_USE)
69 @interface SomeAnnotation {
70 }
71 }