title: Kotlin: How to access a field with the same name as an extension?
body: <p>I have the following field extension</p>
  
  <pre><code>import com.google.gson.annotations.SerializedName
  
  val Enum&lt;*&gt;.serializedName: String get() = javaClass.getField(name).getAnnotation(SerializedName::class.java).value
  </code></pre>
  
  <p>Now if my enum has the same field name as <code>serializedName</code> extension, how could I access the extension field.
  My current approach is to cast to Enum</p>
  
  <pre><code>enum class MyEnum {
      FIELD_1,
      FIELD_2
      ;
      val serializedName = (this as Enum&lt;*&gt;).serializedName 
  }
  </code></pre>