title: Kotlin interface constructor
body: <p>In Kotlin I would like to have an interface that insists the implementing class to have a certain constructor. Something like this:</p>
  
  <pre><code>interface Inter&lt;T&gt; {
      // Must have constructor (t: T)
  }
  
  class Impl(t: String): Inter&lt;String&gt; 
  
  </code></pre>
  
  <p>How to achieve this?</p>