void (@NotNull final PsiType type, @Nullable final PsiType defaultType) { if (defaultType == null) return; ReadAction.nonBlocking(() -> { return type.isValid() && defaultType.isValid() ? new StatisticsInfo(getStatsKey(defaultType), serialize(type)) : null; }).finishOnUiThread(ModalityState.nonModal(), stat -> { if (stat == null) return; StatisticsManager.getInstance().incUseCount(stat); }).submit(NonUrgentExecutor.getInstance()); }