[RESTORED] Spring Support: Inspection for Spring configuration

This commit is contained in:
Alexey Sedunov
2016-02-21 00:50:06 +03:00
parent 236654aa7e
commit 9aeca98b82
9 changed files with 105 additions and 0 deletions
@@ -25,6 +25,7 @@ class KtLightIdentifier(
private val lightOwner: PsiNameIdentifierOwner,
private val ktDeclaration: KtNamedDeclaration?
) : LightIdentifier(lightOwner.manager, ktDeclaration?.name ?: "") {
override fun isPhysical() = true
override fun getParent() = lightOwner
override fun getTextRange() = ktDeclaration?.nameIdentifier?.textRange ?: TextRange.EMPTY_RANGE
}