aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/NonNullOnParameterAbstract.java
blob: df4969319eb964a0f7ab1e66820a9ce64d885fc9 (plain)
1
2
3
4
5
6
7
8
9
10
11
//version 8:
abstract class NonNullOnParameterAbstract {
	public void test(@lombok.NonNull String arg) {
		if (arg == null) {
			throw new java.lang.NullPointerException("arg is marked non-null but is null");
		}
		System.out.println("Hey");
	}
	
	public abstract void test2(@lombok.NonNull String arg);
}