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