code: public void addNewArray(String name, TypeMirror type, int size) throws IOException
      {
          if (type.getKind() != TypeKind.ARRAY)
          {
              throw new IllegalArgumentException(type+" is not array");
          }
          ArrayType at = (ArrayType) type;
          addVariable(name, at);
          newarray(type, size);
          if (!Typ.isPrimitive(at.getComponentType()))
          {
              checkcast(at);
          }
          tstore(name);
      }
docs: Create new array
  <p>Stack: ..., count =&gt; ..., arrayref
  @param name
  @param type
  @param size
  @throws IOException