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
Marker interface for a feature which adds support for the
Language.KOTLIN programming language.- Since:
- 4.0.0
- Author:
- Sergio del Amo
-
Field Summary
FieldsFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptiondefault voidaddBuildPlugins(@NonNull GeneratorContext generatorContext) default Stringdefault Class<?>static booleanshouldApply(GeneratorContext generatorContext) static booleanshouldApply(LanguageFeature languageFeature, TestFeature testFeature) static booleanshouldApply(Language language, TestFramework testFramework) default booleansupports(ApplicationType applicationType) This method must be implemented to ensure it is only selectable for the desired application types.Methods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface io.micronaut.starter.feature.Feature
apply, getDescription, getMicronautDocumentation, getName, getOrder, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, isVisible, processSelectedFeatures
-
Field Details
-
JDK_21_KAPT_MODULES
- See Also:
-
-
Method Details
-
getFeatureClass
- Specified by:
getFeatureClassin interfaceOneOfFeature
-
supports
Description copied from interface:FeatureThis 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. -
getCategory
- Specified by:
getCategoryin interfaceFeature- Returns:
- The
Categoryto which the feature belongs to.
-
addBuildPlugins
-
shouldApply
-
shouldApply
-
shouldApply
-