aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/NonNullOnParameterOfDefaultMethod.java
blob: 7293bcf5b754879aa331fd95914481ea45d87330 (plain)
1
2
3
4
5
6
7
8
9
10
interface NonNullOnParameterOfDefaultMethod {
  void test(@lombok.NonNull String arg);
  default void test2(@lombok.NonNull String arg) {
    if ((arg == null))
        {
          throw new java.lang.NullPointerException("arg is marked @NonNull but is null");
        }
    System.out.println(arg);
  }
}