blob: c6ab10721a67e0522460f995e2452e34469790f5 (
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
|
public class SuperBuilderWithExistingConstructor {
public SuperBuilderWithExistingConstructor() {
}
@java.lang.SuppressWarnings("all")
public static abstract class SuperBuilderWithExistingConstructorBuilder<C extends SuperBuilderWithExistingConstructor, B extends SuperBuilderWithExistingConstructor.SuperBuilderWithExistingConstructorBuilder<C, B>> {
@java.lang.SuppressWarnings("all")
protected abstract B self();
@java.lang.SuppressWarnings("all")
public abstract C build();
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "SuperBuilderWithExistingConstructor.SuperBuilderWithExistingConstructorBuilder()";
}
}
@java.lang.SuppressWarnings("all")
private static final class SuperBuilderWithExistingConstructorBuilderImpl extends SuperBuilderWithExistingConstructor.SuperBuilderWithExistingConstructorBuilder<SuperBuilderWithExistingConstructor, SuperBuilderWithExistingConstructor.SuperBuilderWithExistingConstructorBuilderImpl> {
@java.lang.SuppressWarnings("all")
private SuperBuilderWithExistingConstructorBuilderImpl() {
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
protected SuperBuilderWithExistingConstructor.SuperBuilderWithExistingConstructorBuilderImpl self() {
return this;
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public SuperBuilderWithExistingConstructor build() {
return new SuperBuilderWithExistingConstructor(this);
}
}
@java.lang.SuppressWarnings("all")
protected SuperBuilderWithExistingConstructor(final SuperBuilderWithExistingConstructor.SuperBuilderWithExistingConstructorBuilder<?, ?> b) {
}
@java.lang.SuppressWarnings("all")
public static SuperBuilderWithExistingConstructor.SuperBuilderWithExistingConstructorBuilder<?, ?> builder() {
return new SuperBuilderWithExistingConstructor.SuperBuilderWithExistingConstructorBuilderImpl();
}
}
|