private void addPrimaryFeatures(@NotNull PsiElement element, @NotNull String token) {
    if (myUsageSimilarityFeaturesRecorder.getFeatures().getCardinality() < MAX_SECONDARY_FEATURES) {
      myUsageSimilarityFeaturesRecorder.addAllFeatures(element, token);
      return;
    }
    if (myUsageSimilarityFeaturesRecorder.getFeatures().getCardinality() < MAX_PRIMARY_FEATURES) {
      myUsageSimilarityFeaturesRecorder.addFeature(token);
    }
  }
private void addPrimaryFeatures(@NotNull PsiElement element, @NotNull String token)