org.immutables.fixture.builder.attribute_builders.ThirdPartyImmutableWithNestedBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of value-fixture Show documentation
Show all versions of value-fixture Show documentation
Module that contains all tests for the code generation capability
package org.immutables.fixture.builder.attribute_builders;
public class ThirdPartyImmutableWithNestedBuilder {
private final String value;
private ThirdPartyImmutableWithNestedBuilder(String value) {
this.value = value;
}
public String getValue() {
return value;
}
public static class Builder {
private String value;
public Builder() {
}
public Builder(ThirdPartyImmutableWithNestedBuilder copy) {
this.value = copy.getValue();
}
public Builder setValue(String value) {
this.value = value;
return this;
}
public ThirdPartyImmutableWithNestedBuilder doTheBuild() {
return new ThirdPartyImmutableWithNestedBuilder(value);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy