Package-level declarations

The processor entry point and the provider KSP loads it through.

Types

Link copied to clipboard
class FeatureFlagCodegenProcessor(codeGenerator: CodeGenerator, logger: KSPLogger, platforms: List<PlatformInfo>) : SymbolProcessor

KSP processor that turns @FeatureFlag-decorated anchors into a Metro @Qualifier annotation and a binding interface. Loaded once per build by KSP through FeatureFlagCodegenProcessorProvider.

Link copied to clipboard
class FeatureFlagCodegenProcessorProvider : SymbolProcessorProvider

KSP entry point for the feature flag codegen processor. KSP loads this through META-INF/services/com.google.devtools.ksp.processing.SymbolProcessorProvider and calls create once per build to obtain the FeatureFlagCodegenProcessor that will run for that build.