public static String dumpControlFlow(GroovyControlFlow flow) {
    StringBuilder builder = new StringBuilder();
    for (Instruction instruction : flow.getFlow()) {
      String repr;
      if (instruction instanceof ReadWriteVariableInstruction) {
        int descriptorId = ((ReadWriteVariableInstruction)instruction).getDescriptor();
        repr = instruction.toString().replace(" " + descriptorId, " " + flow.getVarIndices()[descriptorId].getName());
      } else {
        repr = instruction.toString();
      }
      builder.append(repr).append("\n");
    }

    return builder.toString();
  }
public static String dumpControlFlow(GroovyControlFlow flow)