View Javadoc
1   /*
2   JavadocStyle
3   scope = public
4   excludeScope = (default)null
5   checkFirstSentence = (default)true
6   endOfSentenceFormat = (default)([.?!][ \t\n\r\f<])|([.?!]$)
7   checkEmptyJavadoc = (default)false
8   checkHtml = false
9   tokens = METHOD_DEF
10  
11  
12  */
13  
14  package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocstyle;
15  
16  public class InputJavadocStyleRestrictedTokenSet3
17  {
18      /**
19       * First sentence.
20       * <
21       * /a>
22       */
23      void tagClosedInNextLine() {}
24  
25      /**
26      * A test class.
27      * @param <T1> this is NOT an unclosed T1 tag
28      * @param <KEY_T> for bug 1649020.
29      * @author <a href="mailto:foo@nomail.com">Foo Bar</a>
30      */
31      public class TestClass<T1, KEY_T>
32      {
33          /**
34          * Retrieves X.
35          * @return a value
36          */
37          public T1 getX()
38          {
39              return null;
40          }
41  
42          /**
43          * Retrieves Y.
44          * @param <V> this is not an unclosed V tag
45          * @return a value
46          */
47          public <V> V getY()
48          {
49              return null;
50          }
51  
52          /**
53           * Retrieves Z.
54           *
55           * @param <KEY_T1> this is not an unclosed KEY_T tag
56           * @return a value
57           */
58          public <KEY_T1> KEY_T getZ_1649020_1()
59          {
60              return null;
61          }
62  
63          /**
64           * Retrieves something.
65           *
66           * @param <KEY_T_$_1_t> strange type
67           * @return a value
68           */
69          public <KEY_T_$_1_t> KEY_T_$_1_t getEh_1649020_2() {
70              return null;
71          }
72  
73          /**
74           * Retrieves more something.
75           *
76           * @param <$_12_xY_z> strange type
77           * @return a value
78           */
79          public <$_12_xY_z> $_12_xY_z getUmmm_1649020_3() {
80              return null;
81          }
82      }
83  
84      /**
85       * Checks if the specified IClass needs to be
86       * annotated with the @Type annotation.
87       */
88      public void foo_1291847_1() {}
89  
90      /**
91       * Returns the string containing the properties of
92       * <code>@Type</code> annotation.
93       */
94      public void foo_1291847_2() {}
95  
96      /**
97       * Checks generics javadoc.
98       *
99       * @param strings this is a List<String>
100      * @param test Map<String, List<String>> a map indexed on String of Lists of Strings.
101      */
102     public void method20() {}
103 
104     /**
105      * Checks HTML tags in javadoc.
106      *
107      * HTML no good tag
108      * <string>Tests</string>
109      *
110      */
111     public void method21() {}
112 }