title: This annotation is not applicable to target member property without backing field or delegate
body: <p>Here's my code:</p>
  
  <pre><code>@Module
  class SharedPrefs {
      @Module
      companion object {
          val KEY_COOKIE = "cookie"
  
          @JvmStatic
          @Provides
          fun putPref(key: String, value: String?) {
              val prefs = PreferenceManager.getDefaultSharedPreferences(App.context)
              val editor = prefs.edit()
              editor.putString(key, value)
              editor.commit()
          }
  
          @JvmStatic
          @Provides
          fun getPref(key: String): String? {
              val preferences = PreferenceManager.getDefaultSharedPreferences(App.context)
              return preferences.getString(key, null)
          }
  
          @JvmStatic
          @Provides
          var cookie : String?
              get() = getPref(KEY_COOKIE)
              set(value) {
                  putPref(KEY_COOKIE, value)
              }
  
      }
  }
  </code></pre>
  
  <p>The last @provides above var cookie generates a compile error of:</p>
  
  <blockquote>
    <p>This annotation is not applicable to target member property without
    backing field or delegate</p>
  </blockquote>
  
  <p>How do I correct this?</p>