View Javadoc
1   /*
2   JavadocContentLocation
3   location = first_line
4   
5   
6   */
7   
8   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadoccontentlocation;
9   
10  public interface InputJavadocContentLocationFirstLine {
11  
12      /**
13       * Text. // violation above 'Javadoc content should start from the same line as /\*\*.'
14       */
15      void violation();
16  
17      /** Text. // OK
18       */
19      void ok();
20      // violation below 'Javadoc content should start from the same line as /\*\*.'
21      /**
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      /**  **** Extra asterisks. //OK
40       */
41      void extraAsterisks();
42  
43      /** @implNote Does nothing. // OK
44       **/
45      void javadocTag();
46  
47      /** <p> // OK
48       * HTML paragraph.
49       * </p>
50       **/
51      void htmlTag();
52  
53      /** Single line. // OK **/
54      void singleLine();
55  
56      /*
57       * Not a javadoc comment. // OK
58       */
59      void notJavadocComment();
60  
61  }