aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/I2335_BuilderMultipleObtainVia.java
blob: ef3723c00d43ee34b78f932cadea08e6b8a1344c (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
import lombok.Builder;

@Builder
public class I2335_BuilderMultipleObtainVia {
	private String theString;
	private Long theLong;

	@Builder(toBuilder = true)
	public I2335_BuilderMultipleObtainVia(
		@Builder.ObtainVia(method = "getTheString") String theString,
		@Builder.ObtainVia(method = "getTheLong") Long theLong
	) {
		setTheString(theString);
		setTheLong(theLong);
	}
	
	public String getTheString() {
		return theString;
	}
	
	public Long getTheLong() {
		return theLong;
	}
	
	public void setTheString(String theString) {
		this.theString = theString;
	}
	
	public void setTheLong(Long theLong) {
		this.theLong = theLong;
	}
}