private void beforeCreateToStringMethod(Map<String, String> params, TemplateResource template) {
    PsiMethod targetMethod = getMethodPrototype(Collections.emptyList(), Collections.emptyMap(), template);
    if (targetMethod == null) return;
    PsiMethod existingMethod = clazz.findMethodBySignature(targetMethod, false); // find the existing method
    if (existingMethod != null && existingMethod.getDocComment() != null) {
      PsiDocComment doc = existingMethod.getDocComment();
      if (doc != null) {
        params.put("existingJavaDoc", doc.getText());
      }
    }
  }
private void beforeCreateToStringMethod(Map<String, String> params, TemplateResource template)