[FIR IDE] Add unwrapping substitution overrides which doesn't affect function's signature

Also, do not use PSI to restore SUBSTITUTION_OVERRIDE function/property
symbols
This commit is contained in:
Roman Golyshev
2021-10-28 13:16:33 +03:00
committed by teamcityserver
parent 2766dc938b
commit fa8bb47bdf
51 changed files with 1291 additions and 33 deletions
@@ -0,0 +1,20 @@
package test
class SomeClass1
class SomeClass2
interface InterfaceWithFunBase<T1, T2> {
fun noGenerics_InterfaceWithFunBase() {}
fun withOuterGenericT1_InterfaceWithFunBase(): T1 {}
fun withOuterGenericT2_InterfaceWithFunBase(): T2 {}
}
interface InterfaceWithFun<T> : InterfaceWithFunBase<SomeClass1, T> {
fun noGenerics_InterfaceWithFun() {}
fun withOuterGeneric_InterfaceWithFun(): T {}
}
abstract class <caret>ClassWithInterfaceWithFun : InterfaceWithFun<SomeClass2>