private static @NotNull List<PsiClassType> getUnhandledExceptionTypes(PsiElement @NotNull [] statements) {
    List<PsiClassType> exceptions = ExceptionUtil.getUnhandledExceptions(statements);
    if (exceptions.isEmpty()) {
      exceptions = ExceptionUtil.getThrownExceptions(statements);
    }
    return exceptions;
  }
private static @NotNull List<PsiClassType> getUnhandledExceptionTypes(PsiElement @NotNull [] statements)