Rename: Fixed rename of Kotlin enum constants/@JvmField properties through Java references
#KT-11817 Fixed
This commit is contained in:
@@ -65,8 +65,10 @@ sealed class KtLightFieldImpl(
|
||||
|
||||
override fun computeConstantValue() = clsDelegate.computeConstantValue()
|
||||
|
||||
@Throws(IncorrectOperationException::class)
|
||||
override fun setName(@NonNls name: String) = throw IncorrectOperationException("Not supported")
|
||||
override fun setName(@NonNls name: String): PsiElement {
|
||||
(kotlinOrigin as? KtNamedDeclaration)?.setName(name)
|
||||
return this
|
||||
}
|
||||
|
||||
private val _modifierList by lazy {
|
||||
if (lightMemberOrigin is LightMemberOriginForDeclaration)
|
||||
|
||||
Reference in New Issue
Block a user