package test interface A public class B { private fun bar() = object : A { } }