@Override
                    public void actionPerformed(@NotNull ActionEvent e) {
                        runWriteCommandAction(myProject, getCommandName(), getCommandName(),
                                              () -> {
                                                  if (exprTypeCheckbox.isSelected()) {
                                                      String renderedType = renderType(myExprType);
                                                      myDeclaration.setTypeReference(new KtPsiFactory(myProject).createType(renderedType));
                                                  } else {
                                                      myDeclaration.setTypeReference(null);
                                                  }
                                              }
                        );
                    }
@Override
                    public void actionPerformed(@NotNull ActionEvent e)