20
20
public class ResolvedTypeWithMembersTest {
21
21
22
22
@ Retention (RetentionPolicy .RUNTIME )
23
- private static @interface Marker { }
23
+ static @interface Marker { }
24
24
25
25
@ Retention (RetentionPolicy .RUNTIME )
26
- private static @interface MarkerB { }
26
+ static @interface MarkerB { }
27
27
28
28
@ Retention (RetentionPolicy .RUNTIME )
29
29
@ Inherited
30
- private static @interface MarkerC { }
30
+ static @interface MarkerC { }
31
31
32
32
@ SuppressWarnings ("unused" )
33
- private static class MixinCandidate {
33
+ static class MixinCandidate {
34
34
private static void staticOverride () { }
35
35
private String shadowed ;
36
36
private MixinCandidate () { }
37
37
protected String getShadowed () { return shadowed ; }
38
38
}
39
39
40
- private static class MixinA {
40
+ static class MixinA {
41
41
@ Marker
42
42
private static void staticOverride () { }
43
43
44
44
@ Marker
45
45
private String shadowed ;
46
46
47
47
@ Marker
48
- private MixinA () { }
48
+ MixinA () { }
49
49
50
50
@ Marker
51
51
protected String getShadowed () { return shadowed ; }
@@ -54,17 +54,17 @@ private MixinA() { }
54
54
protected String inherited () { return "" ; }
55
55
}
56
56
57
- private static class MixinB {
57
+ static class MixinB {
58
58
@ MarkerB
59
59
protected String getShadowed () { return null ; }
60
60
}
61
61
62
- private static class MixinC {
62
+ static class MixinC {
63
63
@ MarkerB
64
64
protected String getShadowed () { return null ; }
65
65
}
66
66
67
- private static class MixinD {
67
+ static class MixinD {
68
68
69
69
@ Marker
70
70
private String field ;
@@ -76,7 +76,7 @@ private MixinD() { }
76
76
protected String getShadowed () { return null ; }
77
77
}
78
78
79
- private static class MixinASubclass extends MixinA {
79
+ static class MixinASubclass extends MixinA {
80
80
81
81
@ Override protected String getShadowed () { return super .getShadowed (); }
82
82
0 commit comments