public static String instructionListToString(InstructionList il, ConstantPoolGen pool) {

    StringBuilder out = new StringBuilder();
    for (Iterator<InstructionHandle> i = il.iterator(); i.hasNext(); ) {
      InstructionHandle handle = i.next();
      out.append(handle.getInstruction().toString(pool.getConstantPool()) + "\n");
    }
    return out.toString();
  }
public static String instructionListToString(InstructionList il, ConstantPoolGen pool) {

    StringBuilder out = new StringBuilder();
    for (Iterator<InstructionHandle> i = il.iterator(); i.hasNext(); ) {
      InstructionHandle handle = i.next();
      out.append(handle.getInstruction().toString(pool.getConstantPool()) + "\n");
    }
    return out.toString();
  }
public static String instructionListToString ( InstructionList il , ConstantPoolGen pool ) { StringBuilder out = new StringBuilder ( ) ; for ( Iterator < InstructionHandle > i = il . iterator ( ) ; i . hasNext ( ) ; ) { InstructionHandle handle = i . next ( ) ; out . append ( handle . getInstruction ( ) . toString ( pool . getConstantPool ( ) ) + "\n" ) ; } return out . toString ( ) ; }
Return a printed description of the given instructions.

@param il the instructions to describe
@param pool the constant pool the instructions refer to
@return a printed representation of the instructions in {@code il}
Return a printed description of the given instructions .