View Javadoc
1   /*xml
2   <module name="Checker">
3     <module name="TreeWalker">
4       <module name="JavadocVariable">
5         <property name="scope" value="private"/>
6         <property name="excludeScope" value="protected"/>
7       </module>
8     </module>
9   </module>
10  */
11  package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocvariable;
12  
13  // xdoc section -- start
14  public class Example3 {
15    private int a; // violation
16  
17    /**
18     * Some description here
19     */
20    private int b;
21    protected int c;
22    public int d;
23    /*package*/ int e; // violation
24  }
25  // xdoc section -- end