---
title: "LiveLiteralInfo"
description: "This annotation is applied to functions on the LiveLiteral classes created by the Compose
Compiler. It is intended to be used to provide information useful to tooling."
type: "class"
---

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


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@ComposeCompilerApi
@Target(AnnotationTarget.FUNCTION)
public annotation class LiveLiteralInfo(val key: String, val offset: Int)
```


This annotation is applied to functions on the LiveLiteral classes created by the Compose
Compiler. It is intended to be used to provide information useful to tooling.

#### Parameters

| | |
| --- | --- |
| key | The unique identifier for the literal. |
| offset | The startOffset of the literal in the source file at the time of compilation. |




