int (@NotNull Throwable throwable) { Object[] backtrace = getBacktrace(throwable); if (backtrace == null) { return Arrays.hashCode(throwable.getStackTrace()); } for (Object element : backtrace) { if (element instanceof Object[]) { return Arrays.hashCode((Object[])element); } } return 0; }