boolean (@NotNull PsiMethod psiMethod) { for (PsiClassType throwsType : psiMethod.getThrowsList().getReferencedTypes()) { if (throwsType == null) continue; if (!ExceptionUtil.isUncheckedException(throwsType)) { return false; } } return true; }