docs: private static void collectFunctions_r(DebuggableScript function,
                                               ObjArray array) {
          array.add(function);
          for (int i = 0; i != function.getFunctionCount(); ++i) {
              collectFunctions_r(function.getFunction(i), array);
          }
      }