amanda.hinchman-dominguez
11/08/2019, 7:39 PMerror: type mismatch: inferred type is Transform<PsiElement> but Transform<KtClass> was expected
Transform.replace<PsiElement>(
^
error: cannot access class 'org.jetbrains.kotlin.com.intellij.psi.PsiElement'. Check your module classpath for missing or conflicting dependencies
Transform.replace<PsiElement>(
^
error: type argument is not within its bounds: should be subtype of 'KtElement'
Transform.replace<PsiElement>(
^
error: type mismatch: inferred type is com.intellij.psi.PsiElement but org.jetbrains.kotlin.com.intellij.psi.PsiElement was expected
replacing = classOrObject,