StatisticsInfo (LookupElement item) { if (!ApplicationManager.getApplication().isUnitTestMode() && !myLocation.getCompletionParameters().isTestingMode()) { ApplicationManager.getApplication().assertIsNonDispatchThread(); } for (var serializer : mySerializers) { StatisticsInfo info = serializer.apply(item); if (info != null) { return info; } } return StatisticsInfo.EMPTY; }