# AnnotationProcessor

[View Source](https://cs.android.com/search?q=file:com/android/build/api/variant/AnnotationProcessor.kt+class:com.android.build.api.variant.AnnotationProcessor) Added in 7.1.0


```
@Incubating
interface AnnotationProcessor
```

<br />

*** ** * ** ***

Build-time properties for Java annotation processors inside a `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/Component`

This is accessed via `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/JavaCompilation#annotationProcessor()`

## Summary

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

## Public properties

### argumentProviders

Added in 7.1.0

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

Options for the annotation processors provided via `https://docs.gradle.org/current/javadoc/org/gradle/process/CommandLineArgumentProvider.html`.

| See also |
|---|---|
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/AnnotationProcessor#arguments()` |   |

### arguments

Added in 7.1.0

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

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

| See also |
|---|---|
| `https://developer.android.com/reference/tools/gradle-api/9.6/com/android/build/api/variant/AnnotationProcessor#argumentProviders()` |   |

### classNames

Added in 7.1.0

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

Annotation processors to run.

If empty, processors will be automatically discovered.