@Contract("_, _, false -> null")
  public @Nullable Object write(@NotNull String name, @NotNull Object value, boolean retPrevValue) {
    try {
      final Field field = getPreparedField(myInstance.getClass().getField(name));
      if (field != null) {
        Object ret = retPrevValue ? field.get(myInstance) : null;
        field.set(myInstance, value);
        return ret;
      }
    }
    catch (NoSuchFieldException | IllegalAccessException e) {
      e.printStackTrace();
    }
    return null;
  }
@Contract("_, _, false -> null")
  public @Nullable Object write(@NotNull String name, @NotNull Object value, boolean retPrevValue)