private void createIfNeeded() {
    if (myLocalSearchScope == null) {
      myLocalSearchScope = ReadAction.compute(() -> new LocalSearchScope(getPsiElements(), myDisplayName, myIgnoreInjectedPsi));
    }
  }
private void createIfNeeded()