private static void logIfStubTraceEnabled(@NotNull Supplier<String> logText) {
      if (FileBasedIndex.getInstance() instanceof FileBasedIndexEx fileBasedIndex && FileBasedIndexEx.doTraceStubUpdates(INDEX_ID)) {
        fileBasedIndex.getLogger().info(logText.get());
      }
    }
private static void logIfStubTraceEnabled(@NotNull Supplier<String> logText)