View Javadoc
1   package com.google.checkstyle.test.chapter7javadoc.rule711generalform;
2   
3   class Foo{
4   
5   	/** As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)} */ //warn
6       void foo1() {}
7   
8       /**
9        * As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}
10       */
11      void foo2() {}
12  
13      /** @throws CheckstyleException if an error occurs */ //warn
14      void foo3() {}
15  
16      /**
17       * @throws CheckstyleException if an error occurs
18       */
19      void foo4() {}
20  
21      /** An especially short bit of Javadoc. */
22      void foo5() {}
23  
24      /**
25       * An especially short bit of Javadoc.
26       */
27      void foo6() {}
28  
29      /** @inheritDoc */ //warn
30      void foo7() {}
31  
32      /** {@inheritDoc} */ //warn
33      void foo8() {}
34  
35      /** @customTag */ //warn
36      void bar() {}
37  
38      /** <h1> Some header </h1> {@inheritDoc} {@code bar1} text*/ //warn
39      void bar2() {}
40  
41      /** @customTag <a> href="https://github.com/checkstyle/chestyle/"</a> text*/ //warn
42      void bar3() {}
43  }