private void createDelegate() {
    PsiMethod createdDelegate = IntroduceParameterProcessor.createDelegate(myOriginalMethod, myExprText, myPanel.getParametersToRemove());
      myCreatedDelegate = WriteCommandAction.writeCommandAction(myProject).compute(
        () -> (PsiMethod) myMethod.getParent().addBefore(createdDelegate, myMethod));
  }
private void createDelegate()