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
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addBuildPlugins
(@NonNull GeneratorContext generatorContext) default String
default Class<?>
static boolean
shouldApply
(GeneratorContext generatorContext) static boolean
shouldApply
(LanguageFeature languageFeature, TestFeature testFeature) static boolean
shouldApply
(Language language, TestFramework testFramework) default boolean
supports
(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
getDescription
Methods 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:
getFeatureClass
in interfaceOneOfFeature
-
supports
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. -
getCategory
- Specified by:
getCategory
in interfaceFeature
- Returns:
- The
Category
to which the feature belongs to.
-
addBuildPlugins
-
shouldApply
-
shouldApply
-
shouldApply
-