class A { inner class B { fun getAE() = this@A.getAE() fun getBT(): T? = null fun getBE(): E? = null } fun getAE(): E? = null }