@NotNull
  public static EditorTextField createEditorComponent(@NotNull String text, @NotNull String fileName, @NotNull Project project) {
    final FileType fileType = getFileType(fileName);
    final Document document = createDocument(fileType, text, project);
    return new EditorTextField(document, project, fileType);
  }
@NotNull
  public static EditorTextField createEditorComponent(@NotNull String text, @NotNull String fileName, @NotNull Project project)