aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SetterOnClass.java
blob: 05528ff8132d95926a3088ba8cc2c38f9cab397b (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
class SetterOnClass1 {
	boolean isNone;
	boolean isPublic;
	@java.lang.SuppressWarnings("all")
	public void setIsPublic(final boolean isPublic) {
		this.isPublic = isPublic;
	}
}
class SetterOnClass2 {
	boolean isNone;
	boolean isProtected;
	boolean isPackage;
	@java.lang.SuppressWarnings("all")
	protected void setIsProtected(final boolean isProtected) {
		this.isProtected = isProtected;
	}
	@java.lang.SuppressWarnings("all")
	void setIsPackage(final boolean isPackage) {
		this.isPackage = isPackage;
	}
}
class SetterOnClass3 {
	boolean isNone;
	boolean isPackage;
	@java.lang.SuppressWarnings("all")
	void setIsPackage(final boolean isPackage) {
		this.isPackage = isPackage;
	}
}
class SetterOnClass4 {
	boolean isNone;
	boolean isPrivate;
	@java.lang.SuppressWarnings("all")
	private void setIsPrivate(final boolean isPrivate) {
		this.isPrivate = isPrivate;
	}
}
class SetterOnClass5 {
	boolean isNone;
	boolean isPublic;
	@java.lang.SuppressWarnings("all")
	public void setIsPublic(final boolean isPublic) {
		this.isPublic = isPublic;
	}
}
class SetterOnClass6 {
	String couldBeNull;
	@lombok.NonNull
	String nonNull;
	@java.lang.SuppressWarnings("all")
	public void setCouldBeNull(final String couldBeNull) {
		this.couldBeNull = couldBeNull;
	}
	@java.lang.SuppressWarnings("all")
	public void setNonNull(@lombok.NonNull final String nonNull) {
		if (nonNull == null) throw new java.lang.NullPointerException("nonNull");
		this.nonNull = nonNull;
	}
}