Stay organized with collections
Save and categorize content based on your preferences.
AnnotationProcessor
@Incubating interface AnnotationProcessor
Summary
Public properties
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# AnnotationProcessor\n===================\n\n\n```\n@Incubating interface AnnotationProcessor\n```\n\n\u003cbr /\u003e\n\n*** ** * ** ***\n\nSummary\n-------\n\n| ### Public properties ||\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)`\u003c`[CommandLineArgumentProvider](https://docs.gradle.org/current/javadoc/org/gradle/process/CommandLineArgumentProvider.html)`\u003e` | [argumentProviders](/reference/tools/gradle-api/8.1/com/android/build/api/variant/AnnotationProcessor#argumentProviders()) Options for the annotation processors provided via [CommandLineArgumentProvider](https://docs.gradle.org/current/javadoc/org/gradle/process/CommandLineArgumentProvider.html). |\n| [MapProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/MapProperty.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [arguments](/reference/tools/gradle-api/8.1/com/android/build/api/variant/AnnotationProcessor#arguments()) Options for the annotation processors provided via key-value pairs. |\n| [ListProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html)`\u003c`[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`\u003e` | [classNames](/reference/tools/gradle-api/8.1/com/android/build/api/variant/AnnotationProcessor#classNames()) Annotation processors to run. |\n\nPublic properties\n-----------------\n\n### argumentProviders\n\n```\nval argumentProviders: MutableList\u003cCommandLineArgumentProvider\u003e\n```\n\nOptions for the annotation processors provided via [CommandLineArgumentProvider](https://docs.gradle.org/current/javadoc/org/gradle/process/CommandLineArgumentProvider.html). \n\n| See also ||\n|------------------------------------------------------------------------------------------------------------|---|\n| [arguments](/reference/tools/gradle-api/8.1/com/android/build/api/variant/AnnotationProcessor#arguments()) | |\n\n### arguments\n\n```\nval arguments: MapProperty\u003cString, String\u003e\n```\n\nOptions for the annotation processors provided via key-value pairs. \n\n| See also ||\n|----------------------------------------------------------------------------------------------------------------------------|---|\n| [argumentProviders](/reference/tools/gradle-api/8.1/com/android/build/api/variant/AnnotationProcessor#argumentProviders()) | |\n\n### classNames\n\n```\nval classNames: ListProperty\u003cString\u003e\n```\n\nAnnotation processors to run.\n\nIf empty, processors will be automatically discovered."]]