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