FunctionKeyMeta
-
Cmn
@ComposeCompilerApi
@Target(allowedTargets = [AnnotationTarget.CLASS, AnnotationTarget.FUNCTION])
@Retention(value = AnnotationRetention.RUNTIME)
@Repeatable
annotation FunctionKeyMeta
This annotation is applied to the FunctionKeyMeta classes created by the Compose Compiler. These classes will have multiple of these annotations, each one corresponding to a single composable function. The annotation holds some metadata about the function itself and is intended to be used to provide information useful to tooling.
Summary
Public constructors |
|
|---|---|
FunctionKeyMeta(key: Int, startOffset: Int, endOffset: Int) |
Cmn
|
Public properties |
||
|---|---|---|
Int |
The startOffset of the function in the source file at the time of compilation. |
Cmn
|
Int |
The key used for the function's group. |
Cmn
|
Int |
The startOffset of the function in the source file at the time of compilation. |
Cmn
|