Interface KotlinSupportFeature

All Superinterfaces:
io.micronaut.core.naming.Described, Feature, io.micronaut.core.naming.Named, OneOfFeature, io.micronaut.core.order.Ordered
All Known Implementing Classes:
Kapt, KotlinSymbolProcessing

public interface KotlinSupportFeature extends OneOfFeature
Marker interface for a feature which adds support for the Language.KOTLIN programming language.
Sergio del Amo
  • Field Details

  • Method Details

    • getFeatureClass

      default Class<?> getFeatureClass()
      Specified by:
      getFeatureClass in interface OneOfFeature
    • supports

      default boolean supports(ApplicationType applicationType)
      Description copied from interface: Feature
      This method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied.
      Specified by:
      supports in interface Feature
      applicationType - The application type
      True if the feature can be selected by the user
    • getCategory

      default String getCategory()
      Specified by:
      getCategory in interface Feature
      The Category to which the feature belongs to.
    • addBuildPlugins

      default void addBuildPlugins(@NonNull @NonNull GeneratorContext generatorContext)
    • shouldApply

      static boolean shouldApply(GeneratorContext generatorContext)
    • shouldApply

      static boolean shouldApply(LanguageFeature languageFeature, TestFeature testFeature)
    • shouldApply

      static boolean shouldApply(Language language, TestFramework testFramework)