void (@NotNull PsiReferenceExpression expression) { if (Registry.is("similarity.find.usages.add.features.for.fields") && isField(expression)) { myUsageSimilarityFeaturesRecorder.addAllFeatures(expression, "FIELD: " + expression.getReferenceName()); } if (!(expression instanceof PsiMethodReferenceExpression)) { if (!Registry.is("similarity.find.usages.fast.clustering")) { myUsageSimilarityFeaturesRecorder.addAllFeatures(expression, getTypeRepresentation(expression)); } } super.visitReferenceExpression(expression); }