boolean (@NotNull final PsiClass clazz, @NotNull final List<PsiClassType> throwsList) { final PsiClassType type = PsiTypesUtil.getClassType(clazz); return ContainerUtil.exists(throwsList, e -> e.isAssignableFrom(type)); }