public static String[] getInstructions() {
   String[] is = new String[instructions.size()];
   int i = 0;
   for (AbstractInsnNode node : instructions) {
     is[i++] = NodePrinter.print(node);
   }
   return is;
 }
 public static void log() {
   logger.debug("--- TRACE ---");
   int nodeIndex = 0;
   for (AbstractInsnNode node : instructions) {
     logger.debug("[{}] {}", nodeIndex++, NodePrinter.print(node));
   }
   logger.debug("-------------");
 }