You're out of luck here, this is a known problem/l...
# announcements
c
You're out of luck here, this is a known problem/limitation/design-choice whatever. What you can do is this:
Copy code
class TestBean(private var context) : SomeJavaInterface {
    override fun getContext(): Context  = context
    override fun setContext(_context: Context) { this.context = _context }
}