docs: public static boolean verifyParameterConversion(
              Object value,
              final Class<?> expectedClz)
      {
          if (expectedClz == long.class) {
              assert(value != null);
              assert(value.getClass() == Long.class);
          }
          else if (expectedClz == int.class) {
              assert(value != null);
              assert(value.getClass() == Integer.class);
          }
          else if (expectedClz == short.class) {
              assert(value != null);
              assert(value.getClass() == Short.class);
          }
          else if (expectedClz == byte.class) {
              assert(value != null);
              assert(value.getClass() == Byte.class);
          }
          else if (expectedClz == double.class) {
              assert(value != null);
              assert(value.getClass() == Double.class);
          }
          else if (value != null) {
              Class<?> clz = value.getClass();
              if (ByteBuffer.class.isAssignableFrom(clz) && ByteBuffer.class.isAssignableFrom(expectedClz)) {
                  return true;
              }
              if (clz != expectedClz) {
                  // skip this without linking to it (used for sysprocs)
                  return expectedClz.getSimpleName().equals("SystemProcedureExecutionContext") &&
                          expectedClz.isAssignableFrom(clz);
              }
              if (expectedClz.isArray()) {
                  assert(clz.getComponentType() == expectedClz.getComponentType());
              }
          }
          return true;
      }