1 package com.puppycrawl.tools.checkstyle; 6 7 public class InputPublicOnly { 9 private interface InnerInterface { 11 String CONST = "InnerInterface"; void method(); 14 class InnerInnerClass { 16 private int mData; 18 private InnerInnerClass() 19 { 20 final Runnable r = new Runnable () { 21 public void run() {}; 22 }; 23 } 24 25 void method2() { 27 final Runnable r = new Runnable () { 28 public void run() {}; 29 }; 30 } 31 } 32 } 33 34 private class InnerClass { 36 private int mDiff; 38 void method() { 40 } 41 } 42 43 private int mSize; int mLen; protected int mDeer; public int aFreddo; 48 private InputPublicOnly(int aA) 50 { 51 } 52 53 InputPublicOnly(String aA) 55 { 56 } 57 58 protected InputPublicOnly(Object aA) 60 { 61 } 62 63 public InputPublicOnly(Class aA) 65 { 66 } 67 68 private void method(int aA) 70 { 71 } 72 73 void method(Long aA) 75 { 76 } 77 78 protected void method(Class aA) 80 { 81 } 82 83 public void method(StringBuffer aA) 85 { 86 } 87 88 89 94 private void method(String aA) 95 { 96 } 97 98 101 public class InnerWithoutAuthor 102 { 103 104 } 105 106 107 public String toString() 108 { 109 return super.toString(); 110 } 111 } 112 | Popular Tags |