@Override
    public void addElement(@NotNull LookupElement element, @NotNull ProcessingContext context) {
      StatisticsInfo baseInfo = getBaseStatisticsInfo(element);
      int weight = weigh(baseInfo);
      synchronized (this) {
        if (weight != 0) {
          myWeights.put(element, new StatisticsComparable(weight, baseInfo));
          myStringsWithWeights.add(element.getLookupString());
        }
        if (baseInfo == StatisticsInfo.EMPTY) {
          myNoStats.add(element);
        }
      }
      super.addElement(element, context);
    }
@Override
    public void addElement(@NotNull LookupElement element, @NotNull ProcessingContext context)