aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/SetterOnClass.java
blob: 7077c4921a066f39df5270bcc70b68f109999a09 (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
class SetterOnClass1 {
	boolean isNone;
	boolean isPublic;
	@java.lang.SuppressWarnings("all")
	public void setPublic(final boolean isPublic) {
		this.isPublic = isPublic;
	}
}
class SetterOnClass2 {
	boolean isNone;
	boolean isProtected;
	boolean isPackage;
	@java.lang.SuppressWarnings("all")
	protected void setProtected(final boolean isProtected) {
		this.isProtected = isProtected;
	}
	@java.lang.SuppressWarnings("all")
	void setPackage(final boolean isPackage) {
		this.isPackage = isPackage;
	}
}
class SetterOnClass3 {
	boolean isNone;
	boolean isPackage;
	@java.lang.SuppressWarnings("all")
	void setPackage(final boolean isPackage) {
		this.isPackage = isPackage;
	}
}
class SetterOnClass4 {
	boolean isNone;
	boolean isPrivate;
	@java.lang.SuppressWarnings("all")
	private void setPrivate(final boolean isPrivate) {
		this.isPrivate = isPrivate;
	}
}
class SetterOnClass5 {
	boolean isNone;
	boolean isPublic;
	@java.lang.SuppressWarnings("all")
	public void setPublic(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;
	}
}