1 /* 2 InterfaceIsType 3 allowMarkerInterfaces = (default)true 4 5 6 */ 7 8 package com.puppycrawl.tools.checkstyle.checks.design.interfaceistype; 9 10 /** 11 * Test input for InterfaceIsTypeCheck 12 * @author lkuehne 13 **/ 14 class InputInterfaceIsType 15 { 16 // OK, has method, so is a type 17 interface OK 18 { 19 void method(); 20 } 21 22 // Marker interface, OK for some configurations 23 interface Marker 24 { 25 } 26 27 // Always flagged 28 interface ConstantPool // violation 29 { 30 boolean BAD = true; 31 } 32 33 }