blob: 38f5aed0a2745e364001515c08df55b9debb12d0 (
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
39
40
41
|
// CONF: lombok.noArgsConstructor.extraPrivate = true
// CONF: lombok.equalsAndHashCode.callSuper = call
public class PrivateNoArgsConstructor {
private static class Base {
}
@lombok.Data
public static class PrivateNoArgsConstructorNotOnExtends extends Base {
private final int a;
}
@lombok.Data
public static class PrivateNoArgsConstructorOnExtendsObject extends Object {
private final int b;
}
@lombok.NoArgsConstructor(force=true)
@lombok.Data
@lombok.RequiredArgsConstructor
public static class PrivateNoArgsConstructorExplicitBefore {
private final int c;
}
@lombok.Data
@lombok.NoArgsConstructor(force=true)
@lombok.RequiredArgsConstructor
public static class PrivateNoArgsConstructorExplicitAfter {
private final int d;
}
@lombok.Data
@lombok.NoArgsConstructor(access=lombok.AccessLevel.NONE)
@lombok.RequiredArgsConstructor
public static class PrivateNoArgsConstructorExplicitNone {
private final int e;
}
@lombok.Data
public static class PrivateNoArgsConstructorNoFields {
}
}
|