where is the jetpack compose annotation processor?

Viewed 93

I'm new to Jetpack Compose. Studying with codelab, I wondered that what happened to the function with @Compose annotation. So I downloaded the androidx github and searched for the annotation handling @Compose, But I couldn't find the annotation processor. Where is the annotation processor of @Compose annotation?

1 Answers

The compose does not run on annotation processor. It runs on Kotlin Compiler Plugin, which is a lower level layer.

You can lookup the compiler source here

To be more specific, compiler plugin is looking for functions with @Composable annotation here

Related