aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/ToStringEnum.java
blob: 9d852e194928ffad6f696be263dba7732d45be91 (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
enum ToStringEnum1 {
	CONSTANT;
	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public java.lang.String toString() {
		return "ToStringEnum1." + this.name();
	}
}
enum ToStringEnum2 {
	CONSTANT;
	int x;
	String name;
	@java.lang.Override
	@java.lang.SuppressWarnings("all")
	public java.lang.String toString() {
		return "ToStringEnum2." + this.name() + "(x=" + this.x + ", name=" + this.name + ")";
	}
}
class ToStringEnum3 {
	enum MemberEnum {
		CONSTANT;
		@java.lang.Override
		@java.lang.SuppressWarnings("all")
		public java.lang.String toString() {
			return "ToStringEnum3.MemberEnum." + this.name();
		}
	}
}