01: ////////////////////////////////////////////////////////////////////////////////
02: // Test case file for checkstyle.
03: // Created: 2001
04: ////////////////////////////////////////////////////////////////////////////////
05: package com.puppycrawl.tools.checkstyle;
06:
07: /**
08: * Test input for InterfaceIsTypeCheck
09: * @author lkuehne
10: **/
11: class InputInterfaceIsType {
12: // OK, has method, so is a type
13: interface OK {
14: void method();
15: }
16:
17: // Marker interface, OK for some configurations
18: interface Marker {
19: }
20:
21: // Always flagged
22: interface ConstantPool {
23: boolean BAD = true;
24: }
25:
26: }
|