boolean (@NotNull PsiClass catchClass, @NotNull List<? extends PsiType> upperCatchTypes) { for (int i = upperCatchTypes.size() - 1; i >= 0; i--) { if (checkSingleType(catchClass, upperCatchTypes.get(i))) return true; } return false; }