1   package com.puppycrawl.tools.checkstyle.checks.coding.illegaltype;
2   import java.util.TreeSet;
3   import java.util.Hashtable;
4   //configuration: default
5   public class InputIllegalType {
6       private AbstractClass a = null; //WARNING
7       private NotAnAbstractClass b = null; /*another comment*/
8   
9       private com.puppycrawl.tools.checkstyle.checks.coding.illegaltype.InputIllegalType.AbstractClass c = null; //WARNING
10      private com.puppycrawl.tools.checkstyle.checks.coding.illegaltype.InputIllegalType.NotAnAbstractClass d = null;
11  
12      private abstract class AbstractClass {/*one more comment*/}
13  
14      private class NotAnAbstractClass {}
15  
16      private java.util.TreeSet table1() { return null; } //WARNING
17      private TreeSet table2() { return null; } //WARNING
18      static class SomeStaticClass {
19          
20      }
21      
22      InputIllegalType(Integer i) {}
23      private void table2(Integer i) {}
24  
25      private void getInitialContext(java.util.TreeSet v) {} // ignore method by default
26  }