---
title: "ComposableInferredTarget"
description: "An annotation generated by the compose compiler plugin."
type: "class"
---
## API Reference

> Source set: Common

```kotlin
public annotation class ComposableInferredTarget(val scheme: String)
```

An annotation generated by the compose compiler plugin. Do not use explicitly.

The [ComposableInferredTarget](/jetpack-compose/androidx.compose.runtime/runtime/classes/ComposableInferredTarget/api) annotation is an abbreviated form of [ComposableTarget](/jetpack-compose/androidx.compose.runtime/runtime/classes/ComposableTarget/api) and
[ComposableOpenTarget](/jetpack-compose/androidx.compose.runtime/runtime/classes/ComposableOpenTarget/api) generated by the compose compiler plugin when it infers the target of a
composable function that has one or more composable lambda parameters.

This is intended to only be generated by the plugin and should not be used directly. Use
[ComposableOpenTarget](/jetpack-compose/androidx.compose.runtime/runtime/classes/ComposableOpenTarget/api) and [ComposableTarget](/jetpack-compose/androidx.compose.runtime/runtime/classes/ComposableTarget/api) instead.

This annotation is used by the Compose compiler plugin because Kotlin compiler plugins are a not
allowed to add annotations to types such as the lambda types of a [Composable](/jetpack-compose/androidx.compose.runtime/runtime/classes/Composable/api) function
parameter. This annotation records which annotation would have been added.
