docs: public static <T> T getPrevInstruction(InstructionHandle startHandle, Class<T> clazz) {
          InstructionHandle curHandle = startHandle;
          while (curHandle != null) {
              curHandle = curHandle.getPrev();
  
              if (curHandle != null && clazz.isInstance(curHandle.getInstruction())) {
                  return clazz.cast(curHandle.getInstruction());
              }
          }
          return null;
      }