aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-eclipse/NonNullPlain.java
blob: 252a207700ca862c03dbf31f02334f95164089d4 (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 java.lang.annotation.*;
@lombok.RequiredArgsConstructor @lombok.Getter @lombok.Setter class NonNullPlain {
  public @Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE}) @Retention(RetentionPolicy.CLASS) @interface NotNull {
  }
  @lombok.NonNull int i;
  @lombok.NonNull String s;
  @NotNull Object o;
  public @java.beans.ConstructorProperties({"i", "s", "o"}) @java.lang.SuppressWarnings("all") NonNullPlain(final @lombok.NonNull int i, final @lombok.NonNull String s, final @NotNull Object o) {
    super();
    if ((s == null))
        throw new java.lang.NullPointerException("s");
    if ((o == null))
        throw new java.lang.NullPointerException("o");
    this.i = i;
    this.s = s;
    this.o = o;
  }
  public @lombok.NonNull @java.lang.SuppressWarnings("all") int getI() {
    return this.i;
  }
  public @lombok.NonNull @java.lang.SuppressWarnings("all") String getS() {
    return this.s;
  }
  public @NotNull @java.lang.SuppressWarnings("all") Object getO() {
    return this.o;
  }
  public @java.lang.SuppressWarnings("all") void setI(final @lombok.NonNull int i) {
    this.i = i;
  }
  public @java.lang.SuppressWarnings("all") void setS(final @lombok.NonNull String s) {
    if ((s == null))
        throw new java.lang.NullPointerException("s");
    this.s = s;
  }
  public @java.lang.SuppressWarnings("all") void setO(final @NotNull Object o) {
    if ((o == null))
        throw new java.lang.NullPointerException("o");
    this.o = o;
  }
}