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 void
addBuildPlugins
(@NonNull GeneratorContext generatorContext, ModuleContext module) default String
default Class<?>
static boolean
shouldApply
(LanguageFeature languageFeature, TestFeature testFeature) static boolean
shouldApply
(GeneratorContext generatorContext) static boolean
shouldApply
(Language language, TestFramework testFramework) Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.projectgen.core.feature.Feature
apply, getDescription, getFrameworkDocumentation, getName, getOrder, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, isVisible, processSelectedFeatures, supports
-
Field Details
-
JDK_21_KAPT_MODULES
- See Also:
-
-
Method Details
-
getFeatureClass
- Specified by:
getFeatureClass
in interfaceOneOfFeature
-
getCategory
- Specified by:
getCategory
in interfaceFeature
- Returns:
- The Category to which the feature belongs to.
-
addBuildPlugins
default void addBuildPlugins(@NonNull @NonNull GeneratorContext generatorContext, ModuleContext module) -
shouldApply
-
shouldApply
-
shouldApply
-