View Javadoc
1   ////////////////////////////////////////////////////////////////////////////////
2   // Test case file for checkstyle.
3   // Created: 2001
4   ////////////////////////////////////////////////////////////////////////////////
5   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocmethod;
6   
7   public class InputJavadocMethodScopeInnerInterfaces
8   {
9       // inner interfaces with different scopes
10  
11      private interface PrivateInterface
12      {
13          public String CA = "CONST A";
14          String CB = "CONST b";
15  
16          public void ma();
17          void mb();
18      }
19  
20      interface PackageInnerInterface
21      {
22          public String CA = "CONST A";
23          String CB = "CONST b";
24  
25          public void ma();
26          void mb();
27      }
28  
29      protected interface ProtectedInnerInterface
30      {
31          public String CA = "CONST A";
32          String CB = "CONST b";
33  
34          public void ma();
35          void mb();
36      }
37  
38      public interface PublicInnerInterface
39      {
40          public String CA = "CONST A";
41          String CB = "CONST b";
42  
43          public void ma();
44          void mb();
45      }
46  
47      private
48      class 
49      MyClass1 {
50      }
51  
52      class 
53      MyClass2 {
54      }
55  
56      private
57      interface
58      MyInterface1 {
59      }
60  
61      interface
62      MyInterface2 {
63      }
64  
65      protected
66      enum
67      MyEnum {
68      }
69      
70      private
71      @interface
72      MyAnnotation {
73      }
74  }