aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/Constructors.java
blob: f8b090a1d468b5771e84d6002fbc395afa3f313f (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
62
63
64
65
66
67
68
69
class RequiredArgsConstructor1 {
	final int x;
	String name;
	
	@java.beans.ConstructorProperties({"x"})
	@java.lang.SuppressWarnings("all")
	public RequiredArgsConstructor1(final int x) {
		this.x = x;
	}
}

class RequiredArgsConstructorAccess {
	final int x;
	String name;
	
	@java.beans.ConstructorProperties({"x"})
	@java.lang.SuppressWarnings("all")
	protected RequiredArgsConstructorAccess(final int x) {
		this.x = x;
	}
}

class RequiredArgsConstructorStaticName {
	final int x;
	String name;
	
	@java.lang.SuppressWarnings("all")
	private RequiredArgsConstructorStaticName(final int x) {
		this.x = x;
	}
	
	@java.lang.SuppressWarnings("all")
	public static RequiredArgsConstructorStaticName staticname(final int x) {
		return new RequiredArgsConstructorStaticName(x);
	}
}

class RequiredArgsConstructorWithAnnotations {
	final int x;
	String name;
	
	@Deprecated
	@java.beans.ConstructorProperties({"x"})
	@java.lang.SuppressWarnings("all")
	public RequiredArgsConstructorWithAnnotations(final int x) {
		this.x = x;
	}
}

class AllArgsConstructor1 {
	final int x;
	String name;
	
	@java.beans.ConstructorProperties({"x", "name"})
	@java.lang.SuppressWarnings("all")
	public AllArgsConstructor1(final int x, final String name) {
		this.x = x;
		this.name = name;
	}
}

class NoArgsConstructor1 {
	final int x;
	String name;
	
	@java.lang.SuppressWarnings("all")
	public NoArgsConstructor1() {
	}
}