View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="TreeWalker">
4       <module name="NonEmptyAtclauseDescription">
5         <property name="javadocTokens" value="PARAM_LITERAL,THROWS_LITERAL"/>
6       </module>
7     </module>
8   </module>
9   */
10  package com.puppycrawl.tools.checkstyle.checks.javadoc.nonemptyatclausedescription;
11  
12  class InputNonEmptyAtclauseDescriptionThree {
13  
14    /**
15     * Some summary.
16     *
17     * @param j some param
18     * @see <a href="www.checkstyle.org/">website</a>some description.
19     * @see <a href="www.checkstyle.org/">website</a>...
20     * "some description"
21     */
22    public int endwithDot(int j){
23      return j+1;
24    }
25  
26    /**
27     * Some summary.
28     *
29     * @param j some param
30     * @see <a href="https://docs.oracle.com/">
31     * keyPairGenerator Algorithms</a>-there is some description.
32     *
33     * @see #endwithDot(int) <p>some descriptoin</p>
34     */
35    public int testMethod2(int j){
36      return j-1;
37    }
38  
39    /**
40     * Some summary.
41     *
42     * @param j some param
43     * @see <a href="...">a</a><p>ending with paragraph tag</p>.
44     * @see <a href="...">b</a><h1>ending with h tag</h1>
45     *
46     * @see <a href="...">c</a>
47     * <h1>ending with h tag</h1>.
48     */
49    public int testWithHtmlTags(int j){
50      return j-1;
51    }
52  
53    /**
54     * some docs.
55     * @param k some param
56     *
57     * @see <a
58     *     href="https://docs.oracle.com/en/java/standard-names.html#keypairgenerator-algorithms">
59     *     KeyPairGenerator Algorithms</a>.
60     *
61     * @return j
62     */
63    public int testMethod(int k) {
64      return k+1;
65    }
66  }