void (@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); } }