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