code: private void visitJavaArrayInit(GroovySourceAST t) {
          // given that we might have a grandParent...
          if (stack.size() > 2) {
              GroovySourceAST grandParent = getGrandParentNode();
              if (grandParent.getType() == JavaTokenTypes.EXPR) {
                  grandParent.setType(JavaTokenTypes.ARRAY_INIT); //set type as indicator for Java2GroovyConvertor to turn into LIST_CONSTRUCTOR
                  grandParent.setFirstChild(t);
                  t.setType(JavaTokenTypes.ELIST);
              }
          }
      }
docs: Handle Arrays. Examples:
  
  <pre>
  String[] myArray = new String[] {"a","b","c"};
  
  becomes
  
  String[] myArray = ["a", "b", "c"]
  
  ---
  
  To convert node (t) and surrounding nodes into the right structure for List Constructor
  
  (a) java/EXPR
  |
  +- (b) java/new
  |
  + (t) java/ARRAY_INIT
  
  becomes
  
  (a) groovy/LIST_CONSTRUCTOR (via ARRAY_INIT as temporary marker type)
  |
  +- (t) groovy/ELIST
  
  * note: node (b) is thrown away...
  </pre>