View Javadoc
1   /*
2   JavadocStyle
3   scope = (default)private
4   excludeScope = (default)null
5   checkFirstSentence = false
6   endOfSentenceFormat = (default)([.?!][ \t\n\r\f<])|([.?!]$)
7   checkEmptyJavadoc = (default)false
8   checkHtml = (default)true
9   tokens = (default)ANNOTATION_DEF, ANNOTATION_FIELD_DEF, CLASS_DEF, CTOR_DEF, \
10           ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, METHOD_DEF, PACKAGE_DEF, \
11           VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF
12  
13  
14  */
15  
16  package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocstyle;
17  
18  public class InputJavadocStyleHtmlComment
19  {
20      /**
21       * sometimes a tag starts
22       * <pre>
23       * somewhere and has a comment in the middle
24       * <!-- ignore this -->
25       * and ends afterwards
26       * </pre>
27       */
28      private void method1() {}
29  
30      /**
31       * sometimes a tag starts
32       * <pre>
33       * somewhere and has a multiline comment in the middle
34       * <!-- ignore this
35       * spanning
36       * multiple lines -->
37       * and ends afterwards
38       * </pre>
39       */
40      private void method2() {}
41  
42      /**
43       * sometimes a tag starts
44       * <pre>
45       * somewhere and has a multiline comment in the middle
46       * <!-- ignore this
47       * spanning
48       * multiple lines --></pre>
49       * and ends on the same line
50       */
51      private void method3() {}
52  
53      /**
54       * sometimes a tag starts
55       * <pre>
56       * somewhere and has a comment in the middle
57       * <!-- ignore this --> with text following
58       * and ends afterwards
59       * </pre>
60       */
61      private void method4() {}
62  
63      /**
64       * sometimes a tag starts
65       * <pre><!-- ignore this --></pre>
66       * and ends with a comment in the middle
67       */
68      private void method5() {}
69  
70      /**
71       * Parameterized interface.
72       * @param <I>
73       */
74      interface Interface<I> {}
75  }