1
2
3
4
5
6
7 package com.puppycrawl.tools.checkstyle.checks.modifier.redundantmodifier;
8
9 public interface InputRedundantModifierNestedDef {
10 public enum MyInnerEnum1 {}
11 static enum MyInnerEnum2 {}
12 public static enum MyInnerEnum3 {}
13 static public enum MyInnerEnum4 {}
14
15 interface MyInnerInterface {
16 public strictfp class MyInnerClass {}
17 }
18
19 public static class testClass {
20 }
21
22 public abstract static @interface testAnnotatedInterface {
23 }
24 }
25
26 abstract @interface testAnnotatedInterface {
27
28 public static enum testEnum {
29 }
30
31 interface testInterface {
32 public static interface nestedInterface {
33
34 public static class nestedClass {
35 }
36
37 public static @interface nestedAnnInterface {
38 }
39
40 public static enum nestedEnum {
41 }
42 }
43 }
44 }