@Override
            public JComponent invoke() {
                final JCheckBox exprTypeCheckbox = new NonFocusableCheckBox(
                        KotlinBundle.message("checkbox.text.specify.type.explicitly"));
                exprTypeCheckbox.setSelected(false);
                exprTypeCheckbox.addActionListener(new ActionListener() {
                    @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);
                                                  }
                                              }
                        );
                    }
                });

                return exprTypeCheckbox;
            }
@Override
            public JComponent invoke()