title: Implement @slf4j annotation from Lombok in Kotlin
body: <p>Is there a way to implement something similar to Lombok's annotation <code>@slf4j</code> with annotation class in Kotlin?</p>
  
  <p>Right now I have an extension function that instantiates a Logger Factory for me, and I must create these variables in each of my classes just like the example below:</p>
  
  <pre><code>@RestController
  @RequestMapping("/api/v1/sample")
  class SampleController() {
      private val log = logger()
  
      @GetMapping
      fun show(): String {
          log.info("SOME LOGGING MESSAGE")
          return "OK"
      }
  }
  
  inline fun &lt;reified T&gt; T.logger(): Logger {
      if (T::class.isCompanion) {
          return LoggerFactory.getLogger(T::class.java.enclosingClass)
      }
      return LoggerFactory.getLogger(T::class.java)
  }
  </code></pre>
  
  <p>What I want to achieve is something like:</p>
  
  <pre><code>@Logger
  @RestController
  @RequestMapping("/api/v1/sample")
  class SampleController() {
      @GetMapping
      fun show(): String {
          log.info("SOME LOGGING MESSAGE")
          return "OK"
      }
  }
  </code></pre>