blob: 96673b1a00bf1b0a7dc3f4f390cb3c0b4273bb9d (
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
import java.util.List;
class BuilderConstructorJavadoc<T> {
/**
* This is a comment
*
* @param basic tag is moved to the setter
* @param multiline a param comment
* can be on multiple lines and can use
* {@code @code} or <code>tags</code>
* @param predef don't copy this one
* @param predefWithJavadoc don't copy this one
*/
BuilderConstructorJavadoc(int basic, int multiline, int predef, int predefWithJavadoc) {
}
public static class BuilderConstructorJavadocBuilder<T> {
@java.lang.SuppressWarnings("all")
private int basic;
@java.lang.SuppressWarnings("all")
private int multiline;
@java.lang.SuppressWarnings("all")
private int predef;
@java.lang.SuppressWarnings("all")
private int predefWithJavadoc;
public BuilderConstructorJavadocBuilder<T> predef(final int x) {
this.predef = x;
return this;
}
/**
* This javadoc remains untouched.
* @param x 1/100 of the thing
* @return the updated builder
*/
public BuilderConstructorJavadocBuilder<T> predefWithJavadoc(final int x) {
this.predefWithJavadoc = x;
return this;
}
@java.lang.SuppressWarnings("all")
BuilderConstructorJavadocBuilder() {
}
/**
* @param basic tag is moved to the setter
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder<T> basic(final int basic) {
this.basic = basic;
return this;
}
/**
* @param multiline a param comment
* can be on multiple lines and can use
* {@code @code} or <code>tags</code>
* @return {@code this}.
*/
@java.lang.SuppressWarnings("all")
public BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder<T> multiline(final int multiline) {
this.multiline = multiline;
return this;
}
@java.lang.SuppressWarnings("all")
public BuilderConstructorJavadoc<T> build() {
return new BuilderConstructorJavadoc<T>(this.basic, this.multiline, this.predef, this.predefWithJavadoc);
}
@java.lang.Override
@java.lang.SuppressWarnings("all")
public java.lang.String toString() {
return "BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder(basic=" + this.basic + ", multiline=" + this.multiline + ", predef=" + this.predef + ", predefWithJavadoc=" + this.predefWithJavadoc + ")";
}
}
@java.lang.SuppressWarnings("all")
public static <T> BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder<T> builder() {
return new BuilderConstructorJavadoc.BuilderConstructorJavadocBuilder<T>();
}
}
|