# StabilityInferred

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/internal/StabilityInferred.kt+class:androidx.compose.runtime.internal.StabilityInferred) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.0.0) Common/AllAndroid/JVMNative/C/iOSJavaScript
- Cmn

  ```
  @ComposeCompilerApi
  @Target(allowedTargets = [AnnotationTarget.CLASS])
  @Retention(value = AnnotationRetention.BINARY)
  annotation StabilityInferred
  ```

*** ** * ** ***

This annotation is added on classes by the compiler when their stability is inferred. It indicates that there will be a synthetic static final int `$stable` added to the class which can be used by the compose compiler plugin to generate expressions to determine the stability of a realized type at runtime.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/runtime/internal/StabilityInferred#StabilityInferred(kotlin.Int)(parameters: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/runtime/internal/StabilityInferred#parameters()` A bitmask, with one bit per type parameter of the annotated class. | Cmn |

## Public constructors

### StabilityInferred

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

```
StabilityInferred(parameters: Int)
```

| Parameters |
|---|---|
| `parameters: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | A bitmask, with one bit per type parameter of the annotated class. A 1 bit indicates that the stability of the annotated class should be calculated as a combination of the stability of the class itself and the stability of that type parameter. |

## Public properties

### parameters

Cmn

```
val parameters: Int
```

A bitmask, with one bit per type parameter of the annotated class. A 1 bit indicates that the stability of the annotated class should be calculated as a combination of the stability of the class itself and the stability of that type parameter.