private static boolean onTheSameLine(@NotNull Document document, @NotNull PsiElement current, @NotNull PsiElement operand) {
    return document.getLineNumber(current.getTextRange().getStartOffset()) == document.getLineNumber(operand.getTextRange().getStartOffset());
  }
private static boolean onTheSameLine(@NotNull Document document, @NotNull PsiElement current, @NotNull PsiElement operand)