CountingTestExtension - mark as InternalIgnoreDependencyViolation

GitOrigin-RevId: 2685117f3fac0405e9324008977ce4c75284971c
This commit is contained in:
Vladimir Krivosheev
2021-05-28 05:59:49 +00:00
committed by intellij-monorepo-bot
parent 27db0b86bd
commit fd512c761f
@@ -1,8 +1,9 @@
// Copyright 2000-2021 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.util.indexing
import com.intellij.find.ngrams.TrigramIndex
import com.intellij.ide.plugins.loadExtensionWithText
import com.intellij.openapi.extensions.InternalIgnoreDependencyViolation
import com.intellij.openapi.module.JavaModuleType
import com.intellij.openapi.project.DumbService
import com.intellij.openapi.project.Project
@@ -89,7 +90,8 @@ class MultiProjectIndexTest {
private fun Path.toVirtualFile(): VirtualFile = VirtualFileManager.getInstance().refreshAndFindFileByNioPath(this)!!
}
class CountingTestExtension : FileBasedIndexInfrastructureExtension {
@InternalIgnoreDependencyViolation
internal class CountingTestExtension : FileBasedIndexInfrastructureExtension {
val stubCounter = AtomicInteger()
val trigramCounter = AtomicInteger()
val commonBundledFileCounter = AtomicInteger()