private static @Nullable PsiStatement getExpressionStatementInside(Editor editor, @NotNull PsiExpression operand) {
    return getExpressionStatementInside(editor.getCaretModel().getOffset(), operand);
  }
private static @Nullable PsiStatement getExpressionStatementInside(Editor editor, @NotNull PsiExpression operand)