Fix deprecation/unchecked warnings after update to 203
This commit is contained in:
@@ -27,13 +27,15 @@ import org.jetbrains.kotlin.psi.stubs.KotlinClassOrObjectStub
|
||||
import org.jetbrains.kotlin.psi.stubs.KotlinClassifierStub
|
||||
import org.jetbrains.kotlin.psi.stubs.KotlinStubWithFqName
|
||||
import java.lang.reflect.Method
|
||||
import java.util.ArrayList
|
||||
|
||||
val STUB_TO_STRING_PREFIX = "KotlinStub$"
|
||||
|
||||
open class KotlinStubBaseImpl<T : KtElementImplStub<*>>(parent: StubElement<*>?, elementType: IStubElementType<*, *>) :
|
||||
StubBase<T>(parent, elementType) {
|
||||
|
||||
override fun getStubType(): IStubElementType<out StubElement<*>, *> =
|
||||
super.getStubType() as IStubElementType<out StubElement<*>, *>
|
||||
|
||||
override fun toString(): String {
|
||||
val stubInterface = this::class.java.interfaces.single { it.name.contains("Stub") }
|
||||
val propertiesValues = renderPropertyValues(stubInterface)
|
||||
|
||||
Reference in New Issue
Block a user