int (@NotNull Bookmark o) { int i = myMnemonic != 0 ? o.myMnemonic != 0 ? myMnemonic - o.myMnemonic : -1: o.myMnemonic != 0 ? 1 : 0; if (i != 0) { return i; } i = myTarget.getProject().getName().compareTo(o.myTarget.getProject().getName()); if (i != 0) { return i; } i = myTarget.getFile().getName().compareTo(o.getFile().getName()); if (i != 0) { return i; } return getTarget().compareTo(o.getTarget()); }