[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,31 @@
package test
class SomeClass1
class SomeClass2
interface InterfaceWithValBase<T1, T2> {
val noGenerics_InterfaceWithValBase: SomeClass1
val withOuterGenericT1_InterfaceWithValBase: T1
val withOuterGenericT2_InterfaceWithValBase: T2
val <Own> Own.withOwnGeneric_InterfaceWithValBase: SomeClass1
val <Own> Own.withOwnAndOuterGenericT1_InterfaceWithValBase: T1
val <Own> Own.withOwnAndOuterGenericT2_InterfaceWithValBase: T2
}
interface InterfaceWithVal<T> : InterfaceWithValBase<SomeClass1, T> {
val noGenerics_InterfaceWithVal: SomeClass1
val withOuterGeneric_InterfaceWithVal: T
val <Own> Own.withOwnGeneric_InterfaceWithVal: SomeClass1
val <Own> Own.withOwnAndOuterGeneric_InterfaceWithVal: T
}
abstract class <caret>ClassWithInterfaceWithVal : InterfaceWithVal<SomeClass2>