aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/NonNullWithSneakyThrows.java
blob: ee08dbf8a0952160d773d05ee7012a6508bc8525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
class NonNullWithSneakyThrows {
  NonNullWithSneakyThrows() {
    super();
  }
  @lombok.SneakyThrows void test(@lombok.NonNull String in) {
    try 
      {
        if ((in == null))
            {
              throw new java.lang.NullPointerException("in is marked non-null but is null");
            }
        System.out.println(in);
      }
    catch (final java.lang.Throwable $ex)
      {
        throw lombok.Lombok.sneakyThrow($ex);
      }
  }
}