public String process(final Expression expression) {
    return formatExpression(expression);
  }
@Test
  public void shouldProcessArrayExpressionCorrectly() {
    // Given:
    final Expression expression = new SubscriptExpression(ARRAYCOL, literal(0));

    // When:
    final String javaExpression = sqlToJavaVisitor.process(expression);

    // Then:
    assertThat(
        javaExpression,
        equalTo("((Double) (((java.util.List) arguments.get(\"COL4\")) == null ? null : (ArrayAccess.arrayAccess((java.util.List) ((java.util.List) arguments.get(\"COL4\")), ((int) 0)))))")
    );
  }