Interface LanguageSpecificFeature
- All Superinterfaces:
io.micronaut.core.naming.Described, Feature, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered
- All Known Subinterfaces:
JavaSpecificFeature, KotlinSpecificFeature, KotlinSupportFeature
- All Known Implementing Classes:
Config4k, Kapt, KotlinExtensionFunctions, KotlinSymbolProcessing, Ktor, OpenRewrite, ProjectLombok
A feature that only works with a specific language.
- Since:
- 2.0.0
- Author:
- James Kleeh
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptiondefault booleanMethods inherited from interface io.micronaut.core.naming.Described
getDescriptionMethods inherited from interface Feature
apply, getCategory, getDescription, getMicronautDocumentation, getName, getOrder, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, isVisible, processSelectedFeatures, supports, supports, supports, supports, supports
-
Method Details
-
getRequiredLanguage
Language getRequiredLanguage()- Returns:
- The language this feature requires, or empty if the feature can be used with any language.
-
supports
-