{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

LiveLiteralFileInfo

@ComposeCompilerApi
@Target(allowedTargets = [AnnotationTarget.CLASS])
@Retention(value = AnnotationRetention.RUNTIME)
public annotation LiveLiteralFileInfo


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

Summary

Public constructors

Public methods

final @NonNull String

The file path of the file the associate LiveLiterals class was produced for

Public constructors

LiveLiteralFileInfo

public LiveLiteralFileInfo(@NonNull String file)
Parameters
@NonNull String file

The file path of the file the associate LiveLiterals class was produced for

Public methods

getFile

public final @NonNull String getFile()

The file path of the file the associate LiveLiterals class was produced for