drop caches in GotoSymbolModel2

on cr-IDEA-952

GitOrigin-RevId: 0a7f851bffeaf4f36ef78b09ccd1b7a65ff9a180
This commit is contained in:
Sergey Ignatov
2019-12-03 19:37:06 +00:00
committed by intellij-monorepo-bot
parent 63368bff18
commit 1de02e6193
@@ -26,11 +26,20 @@ public class GotoSymbolModel2 extends FilteringGotoByModel<Language> {
public GotoSymbolModel2(@NotNull Project project, @NotNull ChooseByNameContributor[] contributors) {
super(project, contributors);
myAllContributors = false;
addEpListener(project);
}
public GotoSymbolModel2(@NotNull Project project) {
super(project, new ChooseByNameContributor[0]);
myAllContributors = true;
addEpListener(project);
}
private void addEpListener(@NotNull Project project) {
ChooseByNameContributor.CLASS_EP_NAME.addExtensionPointListener(
(e, pd) -> { mySeparators = null; },
(e, pd) -> { mySeparators = null; },
project);
}
@Override