IntelliJ bug with joining assignment

I think this inspector is bogus:
IntelliJ

class RefId<T : Any>(val id: String? = null) {
    private val fetched = AtomicBoolean()
    private lateinit var ref: T
    
    constructor(ref: T) : this(null) {
        this.ref = ref
        fetched.lazySet(true)
    }
}

Applying the changes, I end up with this which doesn’t compile:

class RefId<T : Any>(val id: String? = null) {
    private val fetched = AtomicBoolean()
    private var ref: T = ref


    constructor(ref: T) : this(null) {
        fetched.lazySet(true)
    }

}

While on the subject, is there an easy way to find and adjust the inspector? I thought in java I could right-click and edit inspector.