mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
LSP-475 IDEA-378595 fix JavaSimplePropertyGist class init depending on a service
GitOrigin-RevId: 9e20a7252bfa2fe675929ac19e8c37b050b48030
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c4cecffc34
commit
5a61a4450b
@@ -49,9 +49,11 @@ private fun resolveFieldFromIndexValue(method: PsiMethod, isGetter: Boolean): Ps
|
||||
return null
|
||||
}
|
||||
|
||||
@VisibleForTesting
|
||||
val javaSimplePropertyGist: PsiFileGist<Int2ObjectMap<PropertyIndexValue>> = GistManager.getInstance().newPsiFileGist("java.simple.property", 3, SimplePropertiesExternalizer()) { file ->
|
||||
findSimplePropertyCandidates(file.node.lighterAST)
|
||||
@get:VisibleForTesting
|
||||
val javaSimplePropertyGist: PsiFileGist<Int2ObjectMap<PropertyIndexValue>> by lazy {
|
||||
GistManager.getInstance().newPsiFileGist("java.simple.property", 3, SimplePropertiesExternalizer()) { file ->
|
||||
findSimplePropertyCandidates(file.node.lighterAST)
|
||||
}
|
||||
}
|
||||
|
||||
private val allowedExpressions by lazy {
|
||||
|
||||
Reference in New Issue
Block a user