private PsiMethod createMethodSignature(String createMethodName) {
    JavaCodeStyleManager styleManager = JavaCodeStyleManager.getInstance(myProject);
    final StringBuilder buf = new StringBuilder();
    final PsiMethod constructor = getWorkingConstructor();
    for (PsiParameter parameter : constructor.getParameterList().getParameters()) {
      final String pureParamName = styleManager.variableNameToPropertyName(parameter.getName(), VariableKind.PARAMETER);
      if (buf.length() > 0) buf.append(", ");
      buf.append(myParametersMap.get(pureParamName).getFieldName());
    }
    return myElementFactory.createMethodFromText("public " +
                                                 constructor.getName() +
                                                 " " +
                                                 createMethodName +
                                                 "(){\n return new " +
                                                 constructor.getName() +
                                                 "(" +
                                                 buf +
                                                 ")" +
                                                 ";\n}", constructor);
  }
private PsiMethod createMethodSignature(String createMethodName)