View Javadoc
1   ////////////////////////////////////////////////////////////////////////////////
2   // Test case file for checkstyle.
3   // Created: 2001
4   ////////////////////////////////////////////////////////////////////////////////
5   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadoctype;
6   
7   /**
8      Checks javadoc scoping for inner classes.
9   
10     Once the Javadoc Check Scope has been left,
11     all inner elements should not be reported as error,
12     even if they belong to the checkscope if isolated.
13  
14     @author lkuehne
15   */
16  public class InputJavadocTypeScopeInnerClasses
17  {
18      public class InnerPublic
19      {
20          protected class InnerProtected
21          {
22              class InnerPackage
23              {
24                  private class InnerPrivate
25                  {
26                      // no javadoc required for package scope
27                      class PrivateHiddenPackage
28                      {
29                      }
30  
31                      protected class PrivateHiddenProtected
32                      {
33                      }
34  
35                      public class PrivateHiddenPublic
36                      {
37                      }
38                  }
39              }
40          }
41      }
42  }