create

open override fun create(environment: SymbolProcessorEnvironment): SymbolProcessor(source)

Creates the NavigationCodegenProcessor KSP will run for the current build.

Generated types carry @HiddenFromObjC unless every target platform is JVM. The annotation is an optional expectation the compiler only accepts in common module sources, so a JVM-only compilation (a plain JVM consumer, or the compile testing harness) must not emit it, while a multiplatform compilation with a native target wants the generated dependency injection types kept out of the Objective-C framework header.

Return

A new processor instance bound to the supplied environment.

Parameters

environment

KSP's per build environment. Provides the file writer, the diagnostic logger, and the target platforms the processor needs.