private StatisticsComparable getWeight(LookupElement t) {
      StatisticsComparable w = myWeights.get(t);
      if (w == null) {
        StatisticsInfo info = getBaseStatisticsInfo(t);
        myWeights.put(t, w = new StatisticsComparable(weigh(info), info));
      }
      return w;
    }
private StatisticsComparable getWeight(LookupElement t)