public static boolean isUncheckedExceptionOrSuperclass(final @NotNull PsiClassType type) {
    return isGeneralExceptionType(type) || isUncheckedException(type);
  }
public static boolean isUncheckedExceptionOrSuperclass(final @NotNull PsiClassType type)