aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/BuilderAccessWithGetter.java
blob: f36403bfa1b56198ba86af719ab2a033662df570 (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
public final class BuilderAccessWithGetter {
    private final String string;

    @java.lang.SuppressWarnings("all")
    BuilderAccessWithGetter(final String string) {
        this.string = string;
    }


    @java.lang.SuppressWarnings("all")
    private static class BuilderAccessWithGetterBuilder {
        @java.lang.SuppressWarnings("all")
        private String string;

        @java.lang.SuppressWarnings("all")
        BuilderAccessWithGetterBuilder() {
        }

        /**
         * @return {@code this}.
         */
        @java.lang.SuppressWarnings("all")
        private BuilderAccessWithGetter.BuilderAccessWithGetterBuilder string(final String string) {
            this.string = string;
            return this;
        }

        @java.lang.SuppressWarnings("all")
        private BuilderAccessWithGetter build() {
            return new BuilderAccessWithGetter(this.string);
        }

        @java.lang.Override
        @java.lang.SuppressWarnings("all")
        public java.lang.String toString() {
            return "BuilderAccessWithGetter.BuilderAccessWithGetterBuilder(string=" + this.string + ")";
        }
    }

    @java.lang.SuppressWarnings("all")
    private static BuilderAccessWithGetter.BuilderAccessWithGetterBuilder builder() {
        return new BuilderAccessWithGetter.BuilderAccessWithGetterBuilder();
    }

    @java.lang.SuppressWarnings("all")
    public String getString() {
        return this.string;
    }
}