View Javadoc
1   ////////////////////////////////////////////////////////////////////////////////
2   // Test case file for checkstyle.
3   // Created: 2001
4   ////////////////////////////////////////////////////////////////////////////////
5   package com.puppycrawl.tools.checkstyle.checks.design.visibilitymodifier;
6   
7   public class InputVisibilityModifierPublicOnly
8   {
9       private interface InnerInterface
10      {
11          String CONST = "InnerInterface";
12          
13          class InnerInnerClass
14          {
15              private int mData;
16  
17              private InnerInnerClass()
18              {
19                  final Runnable r = new Runnable() {
20                          public void run() {};
21                      };
22              }
23          }
24      }
25  
26      private class InnerClass
27      {
28          private int mDiff;
29      }
30  
31      private int mSize;
32      int mLen;
33      protected int mDeer;
34      public int aFreddo;
35  
36      /** {@inheritDoc} */
37      public String toString()
38      {
39          return super.toString();
40      }
41  
42      @Deprecated @Override
43      public int hashCode()
44      {
45          return super.hashCode();
46      }
47  }