View Javadoc
1   /*
2   JavadocContentLocation
3   location = (default)SECOND_LINE
4   
5   
6   */
7   
8   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadoccontentlocation;
9   
10  public interface InputJavadocContentLocationDefault {
11  
12      /**
13       * Text. // OK
14       */
15      void ok();
16  
17      /** Text. // violation 'Javadoc content should start from the next line after /\*\*.'
18       */
19      void violation();
20  
21      /** // violation 'Javadoc content should start from the next line after /\*\*.'
22       *
23       * Third line.
24       */
25      void thirdLineViolation();
26  
27      /**
28       *
29       *
30       */
31      void blankLinesOnly();
32  
33      /**
34  
35  
36       */
37      void missingAsterisks();
38  
39      /**
40        Text. //OK
41        More text.
42       */
43      void missingAsterisksWithText();
44  
45      /**
46        **** Extra asterisks. //OK
47        */
48      void extraAsterisks();
49  
50      /**
51       * @implNote Does nothing. // OK
52       **/
53      void javadocTag();
54  
55      /**
56       * <p> // OK
57       * HTML paragraph.
58       * </p>
59       **/
60      void htmlTag();
61  
62      /** Single line. **/ // OK
63      void singleLine();
64  
65      /***/ // OK
66      void emptyJavadocComment();
67  
68      /**/ // OK
69      void emptyComment();
70  
71      /* Not a javadoc comment. // OK
72      */
73      void notJavadocComment();
74  
75  }