title: Compute property only once
body: <p>Given the following code</p>
  
  <pre><code>class A
  class B {
      val property: A
          get() = A()
  }
  
  fun main(args: Array&lt;String&gt;) {
      val b = B()
      println(b.property)
      println(b.property)
  }
  </code></pre>
  
  <p>It returns a new <code>A</code> instance every time <code>B.property</code>. Is there an easy way to make it return the same instance every time?</p>