Skip to content

Commit bd5da6d

Browse files
committed
Dump stability
1 parent 3062c06 commit bd5da6d

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

app/stability/app.stability

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ public fun com.skydoves.myapplication.ActionButton(text: kotlin.String, onClick:
1414

1515
@Composable
1616
public fun com.skydoves.myapplication.Card(modifier: androidx.compose.ui.Modifier?, shape: androidx.compose.ui.graphics.Shape?, colors: androidx.compose.material3.CardColors?, elevation: androidx.compose.material3.CardElevation?, func: kotlin.Function2<androidx.compose.runtime.Composer, kotlin.Int, com.skydoves.myapplication.models.UnstableUser>, func2: kotlin.coroutines.SuspendFunction0<com.skydoves.myapplication.models.UnstableUser>, func3: kotlin.coroutines.SuspendFunction0<com.skydoves.myapplication.models.StableUser>, content: @[ExtensionFunctionType] kotlin.Function3<androidx.compose.foundation.layout.ColumnScope, androidx.compose.runtime.Composer, kotlin.Int, kotlin.Unit>): kotlin.Unit
17-
skippable: false
17+
skippable: true
1818
restartable: true
1919
params:
2020
- modifier: STABLE (marked @Stable or @Immutable)
2121
- shape: STABLE (marked @Stable or @Immutable)
2222
- colors: STABLE (marked @Stable or @Immutable)
2323
- elevation: STABLE (marked @Stable or @Immutable)
2424
- func: STABLE (function type)
25-
- func2: RUNTIME (requires runtime check)
26-
- func3: RUNTIME (requires runtime check)
25+
- func2: STABLE (function type)
26+
- func3: STABLE (function type)
2727
- content: STABLE (function type)
2828

2929
@Composable
@@ -40,10 +40,10 @@ public fun com.skydoves.myapplication.CorrectWithParameters(): kotlin.Unit
4040

4141
@Composable
4242
public fun com.skydoves.myapplication.CounterDisplay(count: com.skydoves.myapplication.MainViewModel): kotlin.Unit
43-
skippable: true
43+
skippable: false
4444
restartable: true
4545
params:
46-
- count: STABLE
46+
- count: RUNTIME (requires runtime check)
4747

4848
@Composable
4949
public fun com.skydoves.myapplication.GenericDisplay(item: T of com.skydoves.myapplication.GenericDisplay, fontWeight4: androidx.compose.ui.text.font.FontWeight, mySealed: com.skydoves.myapplication.MySealed, child2: com.skydoves.myapplication.MySealed.Child2, child3: com.skydoves.myapplication.MySealed.Child3, child4: com.skydoves.myapplication.MySealed.Child4, child: com.skydoves.myapplication.MySealed.Child, fontWeight: androidx.compose.ui.text.font.FontWeight, fontWeight2: androidx.compose.ui.text.font.FontWeight?, values: kotlin.String, value: kotlin.Int?, testValueClass: com.skydoves.myapplication.TestValueClass, textAlign: androidx.compose.ui.text.style.TextAlign, textAlign2: androidx.compose.ui.text.style.TextAlign?, displayText: kotlin.Function1<T of com.skydoves.myapplication.GenericDisplay, kotlin.String>): kotlin.Unit
@@ -52,16 +52,16 @@ public fun com.skydoves.myapplication.GenericDisplay(item: T of com.skydoves.mya
5252
params:
5353
- item: RUNTIME (requires runtime check)
5454
- fontWeight4: STABLE (marked @Stable or @Immutable)
55-
- mySealed: STABLE
56-
- child2: STABLE
57-
- child3: STABLE
55+
- mySealed: STABLE (class with no mutable properties)
56+
- child2: STABLE (class with no mutable properties)
57+
- child3: STABLE (class with no mutable properties)
5858
- child4: UNSTABLE (has mutable properties or unstable members)
59-
- child: STABLE
59+
- child: STABLE (class with no mutable properties)
6060
- fontWeight: STABLE (marked @Stable or @Immutable)
6161
- fontWeight2: STABLE (marked @Stable or @Immutable)
6262
- values: STABLE (String is immutable)
63-
- value: STABLE
64-
- testValueClass: STABLE
63+
- value: STABLE (class with no mutable properties)
64+
- testValueClass: STABLE (class with no mutable properties)
6565
- textAlign: STABLE (known stable type)
6666
- textAlign2: STABLE (known stable type)
6767
- displayText: STABLE (function type)
@@ -75,7 +75,7 @@ public fun com.skydoves.myapplication.Icon(title: kotlin.String, painter: androi
7575
- painter: RUNTIME (requires runtime check)
7676
- users: RUNTIME (requires runtime check)
7777
- normalSealedClass: RUNTIME (requires runtime check)
78-
- stableSealedClass: RUNTIME (requires runtime check)
78+
- stableSealedClass: STABLE (class with no mutable properties)
7979
- elevation: STABLE (marked @Stable or @Immutable)
8080
- unstableUser: UNSTABLE (has mutable properties or unstable members)
8181

@@ -128,22 +128,22 @@ public fun com.skydoves.myapplication.StableUserCard(user: com.skydoves.myapplic
128128
skippable: true
129129
restartable: true
130130
params:
131-
- user: STABLE
131+
- user: STABLE (class with no mutable properties)
132132

133133
@Composable
134134
public fun com.skydoves.myapplication.Test(stableUser2: com.skydoves.myapplication.models.StableUser): kotlin.Unit
135135
skippable: true
136136
restartable: true
137137
params:
138-
- stableUser2: STABLE
138+
- stableUser2: STABLE (class with no mutable properties)
139139

140140
@Composable
141141
public fun com.skydoves.myapplication.Test(myClass2: com.skydoves.myapplication.models.MyClass2, normalClass: com.skydoves.myapplication.models.NormalClass, immutableList: kotlinx.collections.immutable.ImmutableList<kotlin.String>): kotlin.Unit
142142
skippable: false
143143
restartable: true
144144
params:
145145
- myClass2: UNSTABLE (has mutable properties or unstable members)
146-
- normalClass: STABLE
146+
- normalClass: STABLE (class with no mutable properties)
147147
- immutableList: STABLE (known stable type)
148148

149149
@Composable
@@ -163,10 +163,10 @@ public fun com.skydoves.myapplication.Test2(myClass2: kotlin.collections.List<ko
163163

164164
@Composable
165165
public fun com.skydoves.myapplication.Test3(myClass2: java.lang.StringBuilder): kotlin.Unit
166-
skippable: true
166+
skippable: false
167167
restartable: true
168168
params:
169-
- myClass2: STABLE
169+
- myClass2: UNSTABLE (mutable Java class)
170170

171171
@Composable
172172
public fun com.skydoves.myapplication.Test4(count: androidx.lifecycle.ViewModel): kotlin.Unit
@@ -219,7 +219,7 @@ public fun com.skydoves.myapplication.TrackedMixedParameters(title: kotlin.Strin
219219
params:
220220
- title: STABLE (String is immutable)
221221
- count: STABLE (primitive type)
222-
- user: STABLE
222+
- user: STABLE (class with no mutable properties)
223223

224224
@Composable
225225
public fun com.skydoves.myapplication.TrackedUnstableUserCard(user: com.skydoves.myapplication.models.UnstableUser): kotlin.Unit
@@ -233,7 +233,7 @@ public fun com.skydoves.myapplication.TrackedUserProfile(user: com.skydoves.myap
233233
skippable: true
234234
restartable: true
235235
params:
236-
- user: STABLE
236+
- user: STABLE (class with no mutable properties)
237237

238238
@Composable
239239
public fun com.skydoves.myapplication.UnstableUserCard(user: com.skydoves.myapplication.models.UnstableUser): kotlin.Unit

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ androidGradlePlugin = "8.13.0"
1313
androidxActivity = "1.11.0"
1414
androidxComposeBom = "2025.10.01"
1515
jetbrains-compose = "1.9.2"
16-
compose-stability-analyzer = "0.4.2"
16+
compose-stability-analyzer = "0.5.2"
1717
spotless = "6.21.0"
1818

1919
[libraries]

0 commit comments

Comments
 (0)