Private getter and public setter for a Kotlin property : <p>How to make a property in Kotlin that has a private getter (or just do not have it) but has a public setter?</p>

<pre><code>var status
private get
</code></pre>

<p>doesn't work with an error: <code>Getter visibility must be the same as property visibility</code></p>

<p>In my case, the reason is for Java interop: I want my Java code to be able to call <code>setStatus</code> but not <code>getStatus</code>.</p>
