void (@NotNull Writer f, StackTraceElement @NotNull [] stackTraceElements) { try { for (StackTraceElement element : stackTraceElements) { f.write("\tat " + element + "\n"); } } catch (IOException e) { throw new RuntimeException(e); } }