@Override
    public void removeElement(@NotNull LookupElement element, @NotNull ProcessingContext context) {
      synchronized (this) {
        myWeights.remove(element);
        myNoStats.remove(element);
      }
      super.removeElement(element, context);
    }
@Override
    public void removeElement(@NotNull LookupElement element, @NotNull ProcessingContext context)