void () { PsiFile file = createTestFile(""" @lombok.SneakyThrows public void m() { try { throwsMyException(); throwsSomeException(); } catch (Test.SomeException e) { } }"""); PsiMethodCallExpression methodCall = findMethodCall(file); assertNotNull(methodCall); PsiTryStatement tryStatement = findFirstChild(file, PsiTryStatement.class); assertNotNull(tryStatement); List<PsiClassType> exceptions = ExceptionUtil.getUnhandledExceptions(methodCall, tryStatement); assertSize(0, exceptions); }