public void selectFileType(LanguageFileType fileType) {
    final var root = (DefaultMutableTreeNode) patternTreeModel.getRoot();
    final Enumeration<TreeNode> children = root.children();
    while (children.hasMoreElements()) {
      final var node = (DefaultMutableTreeNode) children.nextElement();
      for (String lang : node.toString().split("/")) {
        if (lang.equalsIgnoreCase(fileType.getName())) {
          TreeUtil.selectInTree(node, false, patternTree, true);
          return;
        }
      }
    }
  }
public void selectFileType(LanguageFileType fileType)