# AnnotationProcessor

# AnnotationProcessor

```
@Incubating interface AnnotationProcessor
```

|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [com.android.build.api.variant.AnnotationProcessor](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/variant/AnnotationProcessor#) |

## Summary

|                                                                                                                                                                                                                                                                                                                  ### Properties                                                                                                                                                                                                                                                                                                                  ||
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| abstract[MutableList](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-mutable-list/index.html)\<[CommandLineArgumentProvider](https://docs.gradle.org/current/javadoc/org/gradle/process/CommandLineArgumentProvider.html)\>                                | [argumentProviders](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/variant/AnnotationProcessor#argumentProviders:kotlin.collections.MutableList) Options for the annotation processors provided via[CommandLineArgumentProvider](https://docs.gradle.org/current/javadoc/org/gradle/process/CommandLineArgumentProvider.html). |
| abstract[MapProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/MapProperty.html)\<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html),[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)\> | [arguments](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/variant/AnnotationProcessor#arguments:org.gradle.api.provider.MapProperty) Options for the annotation processors provided via key-value pairs.                                                                                                                      |
| abstract[ListProperty](https://docs.gradle.org/current/javadoc/org/gradle/api/provider/ListProperty.html)\<[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)\>                                                                                | [classNames](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/variant/AnnotationProcessor#classNames:org.gradle.api.provider.ListProperty) Annotation processors to run.                                                                                                                                                         |

## Properties

### argumentProviders

```
abstract val argumentProviders: MutableList<CommandLineArgumentProvider>
```

Options for the annotation processors provided via[CommandLineArgumentProvider](https://docs.gradle.org/current/javadoc/org/gradle/process/CommandLineArgumentProvider.html).  
**See Also**

- `
  `[arguments](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/variant/AnnotationProcessor#arguments:org.gradle.api.provider.MapProperty)
  `
`  

### arguments

```
abstract val arguments: MapProperty<String, String>
```

Options for the annotation processors provided via key-value pairs.  
**See Also**

- `
  `[argumentProviders](https://developer.android.com/reference/tools/gradle-api/7.1/com/android/build/api/variant/AnnotationProcessor#argumentProviders:kotlin.collections.MutableList)
  `
`  

### classNames

```
abstract val classNames: ListProperty<String>
```

Annotation processors to run.

If empty, processors will be automatically discovered.