Skip to content

Commit

Permalink
Use InjectorUtils instead of the deprecated class
Browse files Browse the repository at this point in the history
  • Loading branch information
RedNesto committed Jul 14, 2024
1 parent 713005a commit d9c560c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ import com.intellij.psi.util.PsiModificationTracker
import com.intellij.psi.util.PsiUtil
import com.intellij.psi.util.parentOfType
import com.intellij.util.SmartList
import org.intellij.plugins.intelliLang.inject.InjectorUtils

class MEExpressionInjector : MultiHostInjector {
companion object {
Expand Down Expand Up @@ -146,8 +147,7 @@ class MEExpressionInjector : MultiHostInjector {
)

if (isFrankenstein) {
@Suppress("DEPRECATION") // no replacement for this method
com.intellij.psi.impl.source.tree.injected.InjectedLanguageUtil.putInjectedFileUserData(
InjectorUtils.putInjectedFileUserData(
context,
MEExpressionLanguage,
InjectedLanguageManager.FRANKENSTEIN_INJECTION,
Expand Down

0 comments on commit d9c560c

Please sign in to comment.