public static @NotNull String indent(@NotNull String methodText, @NotNull Project project, FileType fileType) {
    int indent = CodeStyle.getSettings(project).getIndentSize(fileType);
    return methodText.replaceAll("\n", "\n" + StringUtil.repeatSymbol(' ', indent));
  }
public static @NotNull String indent(@NotNull String methodText, @NotNull Project project, FileType fileType)