blob: b5a513139ef893a29d9798af7cad605c6d05e323 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
final @lombok.experimental.UtilityClass class UtilityClassErrors1 {
private static String someField;
<clinit>() {
}
protected UtilityClassErrors1() {
super();
}
static void method() {
@lombok.experimental.UtilityClass class MethodLocalClass {
MethodLocalClass() {
super();
}
}
}
}
@lombok.experimental.UtilityClass enum UtilityClassErrors2 {
<clinit>() {
}
UtilityClassErrors2() {
super();
}
}
class UtilityClassErrors3 {
class NonStaticInner {
@lombok.experimental.UtilityClass class ThisShouldFail {
private String member;
ThisShouldFail() {
super();
}
}
NonStaticInner() {
super();
}
}
UtilityClassErrors3() {
super();
}
}
|