@Override
  protected JComponent createCenterPanel() {
    myCreateInnerClassRb.setSelected(true);

    ActionListener enableDisableListener = e -> enable(myCreateInnerClassRb.isSelected());
    myCreateInnerClassRb.addActionListener(enableDisableListener);
    myCreateAnonymousClassWrapperRb.addActionListener(enableDisableListener);
    myCreateAnonymousClassWrapperRb.setEnabled(!myMultipleExitPoints);

    myFoldCb.setSelected(myVariableData.isFoldingSelectedByDefault());
    myFoldCb.setVisible(myVariableData.isFoldable());
    myVariableData.setFoldingAvailable(myFoldCb.isSelected());
    myInputVariables = myVariableData.getInputVariables().toArray(new VariableData[0]);
    myFoldCb.addActionListener(e -> {
      myVariableData.setFoldingAvailable(myFoldCb.isSelected());
      myInputVariables = myVariableData.getInputVariables().toArray(new VariableData[0]);
      myParametersTableContainer.removeAll();
      myParametersTableContainer.add(createParametersPanel(), BorderLayout.CENTER);
      myParametersTableContainer.revalidate();
      updateSignature();
      updateVarargsEnabled();
    });
    myParametersTableContainer.add(createParametersPanel(), BorderLayout.CENTER);

    ActionListener updateSignatureListener = e -> {
      updateSignature();
      IdeFocusManager.getInstance(myProject).requestFocus(myCreateInnerClassRb.isSelected() ? myInnerClassName :  myMethodName, false);
    };

    if (myStaticFlag || myCanBeStatic) {
      myCbMakeStatic.setEnabled(!myStaticFlag);
      myCbMakeStatic.setSelected(myStaticFlag);
      myCbMakeStatic.addActionListener(updateSignatureListener);
    }
    else {
      myCbMakeStatic.setSelected(false);
      myCbMakeStatic.setEnabled(false);
    }

    updateVarargsEnabled();

    myCbMakeVarargs.setSelected(myWasStatic);
    myCbMakeVarargs.addActionListener(updateSignatureListener);

    myCbMakeVarargsAnonymous.setSelected(myWasStatic);
    myCbMakeVarargsAnonymous.addActionListener(updateSignatureListener);

    DocumentListener nameListener = new DocumentListener() {
      @Override
      public void documentChanged(@NotNull DocumentEvent e) {
        update();
      }
    };
    myInnerClassName.getDocument().addDocumentListener(nameListener);
    myMethodName.getDocument().addDocumentListener(nameListener);

    myPrivateRadioButton.setSelected(true);

    myCreateInnerClassRb.addActionListener(updateSignatureListener);
    myCreateAnonymousClassWrapperRb.addActionListener(updateSignatureListener);

    Enumeration<AbstractButton> visibilities = myVisibilityGroup.getElements();
    while (visibilities.hasMoreElements()) {
      visibilities.nextElement().addActionListener(updateSignatureListener);
    }

    enable(true);
    return myWholePanel;
  }
@Override
  protected JComponent createCenterPanel()