# SourceInformation

Artifact: [androidx.compose.runtime:runtime](https://developer.android.com/jetpack/androidx/releases/compose-runtime) [View Source](https://cs.android.com/search?q=file:androidx/compose/runtime/tooling/SourceInformation.kt+class:androidx.compose.runtime.tooling.SourceInformation) Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0) Common/AllAndroid/JVM
- Cmn

  ```
  @ComposeToolingApi
  class SourceInformation
  ```

*** ** * ** ***

Source information of a `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/CompositionGroup`.

This source information can represent a function call or a control flow group.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#SourceInformation(kotlin.Boolean,kotlin.Boolean,kotlin.String,kotlin.String,kotlin.collections.List,kotlin.String,kotlin.collections.List,kotlin.String)( isCall: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, isInline: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, functionName: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, sourceFile: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, parameters: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/ParameterSourceInformation>, packageHash: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?, locations: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/LocationSourceInformation>, rawData: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html )` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#functionName()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#isCall()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#isInline()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/LocationSourceInformation>` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#locations()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#packageHash()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html<https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/ParameterSourceInformation>` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#parameters()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#rawData()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/tooling/SourceInformation#sourceFile()` | Cmn |

## Public constructors

### SourceInformation

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
SourceInformation(
    isCall: Boolean,
    isInline: Boolean,
    functionName: String?,
    sourceFile: String?,
    parameters: List<ParameterSourceInformation>,
    packageHash: String?,
    locations: List<LocationSourceInformation>,
    rawData: String
)
```

## Public properties

### functionName

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
val functionName: String?
```

### isCall

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
val isCall: Boolean
```

### isInline

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
val isInline: Boolean
```

### locations

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
val locations: List<LocationSourceInformation>
```

### packageHash

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
val packageHash: String?
```

### parameters

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
val parameters: List<ParameterSourceInformation>
```

### rawData

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
val rawData: String
```

### sourceFile

Cmn Added in [1.9.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.9.0)

```
val sourceFile: String?
```