How to pass Java class as parameter to Kotlin annotation?

Temporary fix this issue by using wildcard. It should allow only class extended from MapperFactoryBean. I wish Kotlin could read metadata from Java class and know that it’s already extends from MapperFactoryBean.

// src/main/kotlin/MapperScan.kt
annotation class MapperScan(
val basePackages: Array = arrayOf(),
val factoryBean: KClass<*> = MapperFactoryBean::class
)