boolean (@NotNull LineFragment beforeFragment, @NotNull LineFragment afterFragment) { if (beforeFragment.getEndLine1() != afterFragment.getStartLine1() || beforeFragment.getEndLine2() != afterFragment.getStartLine2() || beforeFragment.getEndOffset1() != afterFragment.getStartOffset1() || beforeFragment.getEndOffset2() != afterFragment.getStartOffset2()) { return false; } return true; }