aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/NonNullWithAlternateException.java
blob: 8a547ecf329e662c47791993fca04068c814ed07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
public class NonNullWithAlternateException {
  private @lombok.NonNull @lombok.Setter String test;
  public NonNullWithAlternateException() {
    super();
  }
  public void testMethod(@lombok.NonNull String arg) {
    if ((arg == null))
        {
          throw new java.lang.IllegalArgumentException("arg is null");
        }
    System.out.println(arg);
  }
  public @java.lang.SuppressWarnings("all") void setTest(final @lombok.NonNull String test) {
    if ((test == null))
        {
          throw new java.lang.IllegalArgumentException("test is null");
        }
    this.test = test;
  }
}