View Javadoc
1   /*
2   MissingJavadocMethod
3   minLineCount = (default)-1
4   allowedAnnotations = MyAnnotation
5   scope = private
6   excludeScope = (default)null
7   allowMissingPropertyJavadoc = (default)false
8   ignoreMethodNamesRegex = (default)null
9   tokens = (default)METHOD_DEF, CTOR_DEF, ANNOTATION_FIELD_DEF, COMPACT_CTOR_DEF
10  
11  
12  */
13  
14  package com.puppycrawl.tools.checkstyle.checks.javadoc.missingjavadocmethod;
15  
16  public class InputMissingJavadocMethodsNotSkipWritten { // ok
17      /**
18       * Description.
19       *
20       * @param BAD
21       *            This param doesn't exist.
22       */
23      @MyAnnotation
24      public void InputMissingJavadocMethodsNotSkipWritten() {
25      }
26  
27      /**
28       * Description.
29       *
30       * @param BAD
31       *            This param doesn't exist.
32       */
33      @MyAnnotation
34      public void test() {
35      }
36  
37      /** Description. */
38      @MyAnnotation
39      public void test2() {
40      }
41  
42      /** Description. */
43      @MyAnnotation
44      public String test3(int a) throws Exception {
45          return "";
46      }
47  }