1 /*xml
2 <module name="Checker">
3 <module name="TreeWalker">
4 <module name="InvalidJavadocPosition"/>
5 </module>
6 </module>
7 */
8
9 package com.puppycrawl.tools.checkstyle.checks.javadoc.invalidjavadocposition;
10
11 // xdoc section -- start
12 @SuppressWarnings("serial")
13 // violation below, 'Javadoc comment is placed in the wrong location'
14 /**
15 * This comment looks like Javadoc but it is at an invalid location.
16 * Therefore, the text will not get into TestClass.html.
17 * And, the check will produce a violation.
18 */
19 public class Example1 {
20 }
21 // xdoc section -- end