static void setTemplateState(UserDataHolder stateHolder, @Nullable TemplateStateBase value) {
    stateHolder.putUserData(TEMPLATE_STATE_KEY, value);
  }
static void setTemplateState(UserDataHolder stateHolder, @Nullable TemplateStateBase value)