---
title: "sourceInformation"
description: "A Compose internal function. DO NOT call directly.

Records source information that can be used for tooling to determine the source location of the
corresponding composable function. By default, this function is declared as having no
side-effects. It is safe for code shrinking tools (such as R8 or ProGuard) to remove it."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ComposeCompilerApi
public fun sourceInformation(composer: Composer, sourceInformation: String)
```


A Compose internal function. DO NOT call directly.

Records source information that can be used for tooling to determine the source location of the
corresponding composable function. By default, this function is declared as having no
side-effects. It is safe for code shrinking tools (such as R8 or ProGuard) to remove it.



