aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NonNullOnParameterOfDefaultMethod.java
blob: 876a34402ddad0f199877018861a3a27e660e221 (plain)
1
2
3
4
5
6
7
8
9
10
// version 8:
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 non-null but is null");
		}
		System.out.println(arg);
	}
}