There is a interface A:
interface A { val name: String }
Also there is one class B implementing this interface:
class B() : A