aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-eclipse/GetterOnMethod.java
blob: d7be009b78509b8798261c4ca72a7385434274fe (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
import lombok.Getter;
class GetterOnMethod {
  @lombok.Getter() int i;
  @lombok.Getter() int j;
  public @Deprecated @java.lang.SuppressWarnings("all") int getI() {
    return this.i;
  }
  public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getJ() {
    return this.j;
  }
  GetterOnMethod() {
    super();
  }
}
@lombok.Getter() class GetterOnClassOnMethod {
  int i;
  int j;
  public @java.lang.SuppressWarnings("all") int getI() {
    return this.i;
  }
  public @java.lang.SuppressWarnings("all") int getJ() {
    return this.j;
  }
  GetterOnClassOnMethod() {
    super();
  }
}
@lombok.Getter() class GetterOnClassAndOnAField {
  int i;
  @lombok.Getter() int j;
  public @java.lang.Deprecated @java.lang.SuppressWarnings("all") int getJ() {
    return this.j;
  }
  public @java.lang.SuppressWarnings("all") int getI() {
    return this.i;
  }
  GetterOnClassAndOnAField() {
    super();
  }
}