Class KotlinProcessor


  • public class KotlinProcessor
    extends Object
    • Constructor Summary

      Constructors 
      Constructor Description
      KotlinProcessor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) io.quarkus.deployment.builditem.nativeimage.ReflectiveClassFinalFieldsWritablePredicateBuildItem dataClassPredicate()
      Kotlin data classes that have multiple constructors need to have their final fields writable, otherwise creating an instance of them with default values fails in native mode.
      (package private) io.quarkus.deployment.builditem.FeatureBuildItem feature()  
      (package private) void registerKotlinJacksonModule​(io.quarkus.deployment.annotations.BuildProducer<ClassPathJacksonModuleBuildItem> classPathJacksonModules)  
      (package private) void registerKotlinReflection​(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass, io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.NativeImageResourcePatternsBuildItem> nativeResourcePatterns)  
    • Constructor Detail

      • KotlinProcessor

        public KotlinProcessor()
    • Method Detail

      • feature

        io.quarkus.deployment.builditem.FeatureBuildItem feature()
      • registerKotlinJacksonModule

        void registerKotlinJacksonModule​(io.quarkus.deployment.annotations.BuildProducer<ClassPathJacksonModuleBuildItem> classPathJacksonModules)
      • dataClassPredicate

        io.quarkus.deployment.builditem.nativeimage.ReflectiveClassFinalFieldsWritablePredicateBuildItem dataClassPredicate()
        Kotlin data classes that have multiple constructors need to have their final fields writable, otherwise creating an instance of them with default values fails in native mode.
      • registerKotlinReflection

        void registerKotlinReflection​(io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem> reflectiveClass,
                                      io.quarkus.deployment.annotations.BuildProducer<io.quarkus.deployment.builditem.nativeimage.NativeImageResourcePatternsBuildItem> nativeResourcePatterns)