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