PsiElementListCellRenderer () { return new GotoFileCellRenderer(myMaxSize) { @NotNull @Override public ItemMatchers getItemMatchers(@NotNull JList list, @NotNull Object value) { ItemMatchers defaultMatchers = super.getItemMatchers(list, value); if (!(value instanceof PsiFileSystemItem)) return defaultMatchers; return convertToFileItemMatchers(defaultMatchers, (PsiFileSystemItem) value, GotoFileModel.this); } }; }