aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/SetterOnClass.java
blob: 9ed77bd44c66d07b7666c2c5a5a9baae55bfd04b (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
70
71
@lombok.Setter class SetterOnClass1 {
  @lombok.Setter(lombok.AccessLevel.NONE) boolean isNone;
  boolean isPublic;
  SetterOnClass1() {
    super();
  }
  public @java.lang.SuppressWarnings("all") void setPublic(final boolean isPublic) {
    this.isPublic = isPublic;
  }
}
@lombok.Setter(lombok.AccessLevel.PROTECTED) class SetterOnClass2 {
  @lombok.Setter(lombok.AccessLevel.NONE) boolean isNone;
  boolean isProtected;
  @lombok.Setter(lombok.AccessLevel.PACKAGE) boolean isPackage;
  SetterOnClass2() {
    super();
  }
  @java.lang.SuppressWarnings("all") void setPackage(final boolean isPackage) {
    this.isPackage = isPackage;
  }
  protected @java.lang.SuppressWarnings("all") void setProtected(final boolean isProtected) {
    this.isProtected = isProtected;
  }
}
@lombok.Setter(lombok.AccessLevel.PACKAGE) class SetterOnClass3 {
  @lombok.Setter(lombok.AccessLevel.NONE) boolean isNone;
  boolean isPackage;
  SetterOnClass3() {
    super();
  }
  @java.lang.SuppressWarnings("all") void setPackage(final boolean isPackage) {
    this.isPackage = isPackage;
  }
}
@lombok.Setter(lombok.AccessLevel.PRIVATE) class SetterOnClass4 {
  @lombok.Setter(lombok.AccessLevel.NONE) boolean isNone;
  boolean isPrivate;
  SetterOnClass4() {
    super();
  }
  private @java.lang.SuppressWarnings("all") void setPrivate(final boolean isPrivate) {
    this.isPrivate = isPrivate;
  }
}
@lombok.Setter(lombok.AccessLevel.PUBLIC) class SetterOnClass5 {
  @lombok.Setter(lombok.AccessLevel.NONE) boolean isNone;
  boolean isPublic;
  SetterOnClass5() {
    super();
  }
  public @java.lang.SuppressWarnings("all") void setPublic(final boolean isPublic) {
    this.isPublic = isPublic;
  }
}
@lombok.Setter class SetterOnClass6 {
  String couldBeNull;
  @lombok.NonNull String nonNull;
  SetterOnClass6() {
    super();
  }
  public @java.lang.SuppressWarnings("all") void setCouldBeNull(final String couldBeNull) {
    this.couldBeNull = couldBeNull;
  }
  public @java.lang.SuppressWarnings("all") void setNonNull(final @lombok.NonNull String nonNull) {
    if ((nonNull == null))
        {
          throw new java.lang.NullPointerException("nonNull is marked non-null but is null");
        }
    this.nonNull = nonNull;
  }
}