abstract class RustNavigationContributorBase protected constructor( private val indexKey: StubIndexKey, private val clazz: Class ) : ChooseByNameContributor, GotoClassContributor where T : NavigationItem, T : RustNamedElement { } fun foo() where T : NavigationItem, T : RustNamedElement { } interface Bound1 interface Bound2 class WhereClass1where T : Bound1, T : Bound2