mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
IJPL-161383 mark registerSearcherForTesting as internal
GitOrigin-RevId: 67b145b6687ad8744f728e3f21dfcb065f1569d6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7254afe24a
commit
fa779374dd
@@ -102,8 +102,6 @@ f:com.intellij.psi.impl.search.CachesBasedRefSearcher
|
||||
- com.intellij.openapi.application.QueryExecutorBase
|
||||
- <init>():V
|
||||
- processQuery(com.intellij.psi.search.searches.ReferencesSearch$SearchParameters,com.intellij.util.Processor):V
|
||||
f:com.intellij.psi.impl.search.HelperKt
|
||||
- sf:registerSearcherForTesting(java.lang.Class,com.intellij.model.search.Searcher,com.intellij.openapi.Disposable):V
|
||||
com.intellij.psi.impl.search.IndexPatternBuilder
|
||||
- sf:EP_NAME:com.intellij.openapi.extensions.ExtensionPointName
|
||||
- getCharsAllowedInContinuationPrefix(com.intellij.psi.tree.IElementType):java.lang.String
|
||||
|
||||
@@ -37,6 +37,7 @@ internal fun <R : Any> searchers(parameters: SearchParameters<R>): List<Searcher
|
||||
return searchersExtension.forKey(parameters.javaClass) as List<Searcher<SearchParameters<R>, R>>
|
||||
}
|
||||
|
||||
@Internal
|
||||
@TestOnly
|
||||
fun registerSearcherForTesting(key: Class<*>, searcher: Searcher<*, *>, parentDisposable: Disposable) {
|
||||
if (!ApplicationManager.getApplication().isUnitTestMode) throw IllegalStateException()
|
||||
|
||||
Reference in New Issue
Block a user