Avoid using LC details

...as they are subject to change.

For example, KtLightTypeParameter is LC,
not even ULC (ultra LC, the next version of LC for K1)
nor SLC (Symbol LC, the counterpart in K2),
and is already deleted:
https://github.com/JetBrains/kotlin/commit/f10c5c28a58464e4d2ec7dd0f570e3dcfce0ed25#diff-2538a57193d22efe7a4c8df62fb69282c19e62bdee716a2472db10a9ad4e8644

Bug: 329091442
Test: presubmit
Change-Id: Iafb18e625b06ca51602c0636733465da7b6e014e
diff --git a/lifecycle/lifecycle-livedata-core-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt b/lifecycle/lifecycle-livedata-core-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
index 0a2556d..ee80d7c 100644
--- a/lifecycle/lifecycle-livedata-core-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
+++ b/lifecycle/lifecycle-livedata-core-lint/src/main/java/androidx/lifecycle/lint/NonNullableMutableLiveDataDetector.kt
@@ -29,10 +29,10 @@
 import com.android.tools.lint.detector.api.UastLintUtils
 import com.android.tools.lint.detector.api.isKotlin
 import com.intellij.psi.PsiClassType
+import com.intellij.psi.PsiTypeParameter
 import com.intellij.psi.PsiVariable
 import com.intellij.psi.PsiWhiteSpace
 import com.intellij.psi.impl.source.PsiImmediateClassType
-import org.jetbrains.kotlin.asJava.elements.KtLightTypeParameter
 import org.jetbrains.kotlin.psi.KtCallExpression
 import org.jetbrains.kotlin.psi.KtCallableDeclaration
 import org.jetbrains.kotlin.psi.KtNullableType
@@ -223,7 +223,7 @@
     private fun UCallExpression.isGenericTypeDefinition(): Boolean {
         val classType = typeArguments.singleOrNull() as? PsiImmediateClassType
         val resolveGenerics = classType?.resolveGenerics()
-        return resolveGenerics?.element is KtLightTypeParameter
+        return resolveGenerics?.element is PsiTypeParameter
     }
 
     /**