int (@NotNull OpenFileDescriptor o) { int i = myProject.getName().compareTo(o.myProject.getName()); if (i != 0) return i; i = myFile.getName().compareTo(o.myFile.getName()); if (i != 0) return i; if (myRangeMarker != null) { if (o.myRangeMarker == null) return 1; i = myRangeMarker.getStartOffset() - o.myRangeMarker.getStartOffset(); if (i != 0) return i; return myRangeMarker.getEndOffset() - o.myRangeMarker.getEndOffset(); } return o.myRangeMarker == null ? 0 : -1; }