blob: d9907ce820b35d16ed65f0b21a82ebb17dd15dc3 (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
import java.util.Arrays;
public class BuilderDefaultsTargetTyping {
String foo;
static String doSth(java.util.List<Integer> i, java.util.List<Character> c) {
return null;
}
@java.lang.SuppressWarnings("all")
private static String $default$foo() {
return doSth(Arrays.asList(1), Arrays.asList('a'));
}
@java.lang.SuppressWarnings("all")
BuilderDefaultsTargetTyping(final String foo) {
this.foo = foo;
}
@java.lang.SuppressWarnings("all")
public static class BuilderDefaultsTargetTypingBuilder {
@java.lang.SuppressWarnings("all")
private boolean foo$set;
@java.lang.SuppressWarnings("all")
private String foo$value;
@java.lang.SuppressWarnings("all")
BuilderDefaultsTargetTypingBuilder() {
}
/**
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public BuilderDefaultsTargetTyping.BuilderDefaultsTargetTypingBuilder foo(final String foo) {
this.foo$value = foo;
foo$set = true;
return this;
}
@java.lang.SuppressWarnings("all")
public BuilderDefaultsTargetTyping build() {
String foo$value = this.foo$value;
if (!this.foo$set) foo$value = BuilderDefaultsTargetTyping.$default$foo();
return new BuilderDefaultsTargetTyping(foo$value);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "BuilderDefaultsTargetTyping.BuilderDefaultsTargetTypingBuilder(foo$value=" + this.foo$value + ")";
}
}
@java.lang.SuppressWarnings("all")
public static BuilderDefaultsTargetTyping.BuilderDefaultsTargetTypingBuilder builder() {
return new BuilderDefaultsTargetTyping.BuilderDefaultsTargetTypingBuilder();
}
}
|