title: Is it possible to override Java getter (method) with Kotlin val (property)?
body: <p>For example:</p>
  
  <p>Java:</p>
  
  <pre><code>public class Foo {
  
      public int getSomething() {
          return 1;
      }
  
  }
  </code></pre>
  
  <p>Kotlin:</p>
  
  <pre><code>class Bar : Foo() {
  
      // works
      override fun getSomething() = 2
  
      // doesn't work ('something' overrides nothing)
      // override val something = 2
  
  }
  </code></pre>
  
  <p>I thought that <code>val something = 2</code> will be transformed to <code>public int getSomething() { return 2; }</code> in Java bytecode.</p>