[platform] IJPL-938 Deprecate public utils in com.intellij.refactoring.suggested

Update usages

GitOrigin-RevId: d56e13ad1631e92d900ded8d89edbed7bf214c41
This commit is contained in:
Yuriy Artamonov
2024-03-28 16:50:12 +01:00
committed by intellij-monorepo-bot
parent 4e05453800
commit 59597eb185
162 changed files with 210 additions and 303 deletions

View File

@@ -7,7 +7,6 @@ import com.intellij.lang.jvm.JvmModifier
import com.intellij.lang.jvm.actions.*
import com.intellij.psi.*
import com.intellij.psi.codeStyle.JavaCodeStyleSettings
import com.intellij.psi.util.createSmartPointer
import com.intellij.psi.xml.XmlAttribute
import com.intellij.psi.xml.XmlAttributeValue
import com.intellij.util.VisibilityUtil
@@ -31,7 +30,7 @@ class CreateEventHandlerRequest(element: XmlAttributeValue) : CreateMethodReques
private val myProject = element.project
private val myVisibility = getVisibility(element)
private val myPointer = element.createSmartPointer(myProject)
private val myPointer = SmartPointerManager.getInstance(myProject).createSmartPsiElementPointer(element)
override fun isValid(): Boolean = myPointer.element.let {
it != null && it.value.let { value ->