1
2
3
4
5
6
7
8
9
10
11
12
13
14 package com.puppycrawl.tools.checkstyle.checks.modifier.interfacememberimpliedmodifier;
15
16 public interface InputInterfaceMemberImpliedModifierNestedOnInterface4 {
17
18 public static interface NestedInterfacePublicStatic {
19 }
20
21 public interface NestedInterfacePublic {
22 }
23
24 static interface NestedInterfaceStatic {
25 }
26
27 interface NestedInterface {
28 }
29
30 public static enum NestedEnumPublicStatic {
31 TRUE,
32 FALSE
33 }
34
35 public enum NestedEnumPublic {
36 TRUE,
37 FALSE
38 }
39
40 static enum NestedEnumStatic {
41 TRUE,
42 FALSE
43 }
44
45 enum NestedEnum {
46 TRUE,
47 FALSE
48 }
49
50 public static class NestedClassPublicStatic {
51 }
52
53 public class NestedClassPublic {
54 }
55
56 static class NestedClassStatic {
57 }
58
59 class NestedClass {
60 }
61
62 public default boolean methodWithLocalClass(String input) {
63 class LocalClass {
64
65 public boolean test(String str) {
66 return str.isEmpty();
67 }
68 }
69 LocalClass foo = new LocalClass();
70 return foo.test(input);
71 }
72
73 }