View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod;
2   
3   /**
4    * Some javadoc.
5    */
6   public class InputJavadocMethodAllowedAnnotations implements SomeInterface {
7   
8       @ThisIsOk
9       public void allowed1() {}
10  
11      @ThisIsOkToo
12      public void allowed2() {}
13  
14      @com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod.ThisIsOk
15      public void allowed3() {}
16  
17      @Override
18      public void method() {}
19  }
20  
21  /**
22   * Documented.
23   */
24  interface SomeInterface {
25      /**
26       * Documented.
27       */
28      void method();
29  }
30  
31  /**
32   * Some javadoc.
33   */
34  @interface ThisIsOk {}
35  
36  /**
37   * Some javadoc.
38   */
39  @interface ThisIsOkToo {}