Does kotlin-maven-allopen make private properties open?


Or it’s an inspection bug in IDEA?

For example:

class Foo {
    val foo = 1

class Bar(private val foo: Foo) {

    init {
        print( // IDEA says "Accessing non-final property foo in constructor"


How is that possible? You cannot make a property both private and open. Or you can?