spring-configuration-metadata.json file is not generated in IntelliJ Idea for Kotlin @ConfigurationProperties class : <p>I'm trying to generate spring-configuration-metadata.json file for my Spring Boot based project. If I use Java <strong>@ConfigurationProperties</strong> class it is generated correctly and automatically:</p>

<pre><code>@ConfigurationProperties("myprops")
public class MyProps {

    private String hello;

    public String getHello() {
        return hello;
    }

    public void setHello(String hello) {
        this.hello = hello;
    }
}
</code></pre>

<p>But if I use Kotlin class the <strong>spring-configuration-metadata.json</strong> file is not generated (I've tried both <strong>gradle build</strong> and Idea <strong>Rebuild Project</strong>).</p>

<pre><code>@ConfigurationProperties("myprops")
class MyProps {
    var hello: String? = null
}
</code></pre>

<p>AFAIK Kotlin generates the same class with constructor, getters and setters and should act as regular Java bean.</p>

<p>Any ideas why <strong>spring-boot-configuration-processor</strong> doesn't work with Kotlin classes?</p>
