title: Android - Dagger injection inside the method
body: <p>In my application am using dagger, i would like to inject the class inside the method, but it shows compile time error</p>
  
  <pre><code>fun someMethod(){
    @Inject
    val testClass : TestClass
   } 
  </code></pre>
  
  <p>It shows me error like</p>
  
  <pre><code>This annotation is not applicable to local variable
  </code></pre>
  
  <p>Any help how to handle this ?</p>