Julia McClellan | 9719ea5 | 2022-10-21 13:35:04 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Aurimas Liutikas | 02e5c92 | 2023-08-08 11:04:38 -0700 | [diff] [blame] | 2 | <issues format="6" by="lint 8.2.0-alpha15" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-alpha15)" variant="all" version="8.2.0-alpha15"> |
Tiem Song | 7905a13 | 2023-03-28 15:32:27 -0700 | [diff] [blame] | 3 | |
| 4 | <issue |
Aurimas Liutikas | 5fdc134 | 2023-08-03 17:16:27 -0700 | [diff] [blame] | 5 | id="BanHideTag" |
| 6 | message="@hide is not allowed in documentation" |
Tiem Song | 7905a13 | 2023-03-28 15:32:27 -0700 | [diff] [blame] | 7 | errorLine1=" fun findViewByAccessibilityIdTraversal(accessibilityId: Int): View? {" |
| 8 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 9 | <location |
| 10 | file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeView.android.kt"/> |
| 11 | </issue> |
| 12 | |
| 13 | <issue |
Aurimas Liutikas | 6e4ecf7 | 2023-02-22 17:33:52 -0800 | [diff] [blame] | 14 | id="BanThreadSleep" |
| 15 | message="Uses Thread.sleep()" |
| 16 | errorLine1=" Thread.sleep(sleepTime)" |
| 17 | errorLine2=" ~~~~~"> |
| 18 | <location |
| 19 | file="src/androidAndroidTest/kotlin/androidx/compose/ui/input/pointer/AndroidPointerInputTest.kt"/> |
| 20 | </issue> |
Julia McClellan | 9719ea5 | 2022-10-21 13:35:04 +0000 | [diff] [blame] | 21 | |
| 22 | <issue |
| 23 | id="ExperimentalPropertyAnnotation" |
| 24 | message="This property does not have all required annotations to correctly mark it as experimental." |
Julia McClellan | 9719ea5 | 2022-10-21 13:35:04 +0000 | [diff] [blame] | 25 | errorLine1=" @InternalComposeUiApi" |
| 26 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| 27 | <location |
| 28 | file="src/androidMain/kotlin/androidx/compose/ui/platform/ComposeView.android.kt"/> |
| 29 | </issue> |
| 30 | |
| 31 | <issue |
| 32 | id="ExperimentalPropertyAnnotation" |
| 33 | message="This property does not have all required annotations to correctly mark it as experimental." |
Julia McClellan | 9719ea5 | 2022-10-21 13:35:04 +0000 | [diff] [blame] | 34 | errorLine1=" @ExperimentalComposeUiApi" |
| 35 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 36 | <location |
| 37 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 38 | </issue> |
| 39 | |
| 40 | <issue |
| 41 | id="ExperimentalPropertyAnnotation" |
| 42 | message="This property does not have all required annotations to correctly mark it as experimental." |
| 43 | errorLine1=" @get:ExperimentalComposeUiApi" |
| 44 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 45 | <location |
| 46 | file="src/commonMain/kotlin/androidx/compose/ui/platform/WindowInfo.kt"/> |
| 47 | </issue> |
| 48 | |
| 49 | <issue |
| 50 | id="ExperimentalPropertyAnnotation" |
| 51 | message="This property does not have all required annotations to correctly mark it as experimental." |
| 52 | errorLine1=" @get:ExperimentalComposeUiApi" |
| 53 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 54 | <location |
| 55 | file="src/commonMain/kotlin/androidx/compose/ui/platform/WindowInfo.kt"/> |
| 56 | </issue> |
| 57 | |
Louis Pullen-Freilich | edde6e8 | 2023-06-13 18:43:30 +0100 | [diff] [blame] | 58 | <issue |
Aurimas Liutikas | 578019f | 2023-08-16 13:24:08 -0700 | [diff] [blame] | 59 | id="RestrictedApi" |
| 60 | message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 61 | errorLine1=" val typedArray = TypedArrayUtils.obtainAttributes(" |
| 62 | errorLine2=" ~~~~~~~~~~~~~~~~"> |
| 63 | <location |
| 64 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 65 | </issue> |
| 66 | |
| 67 | <issue |
| 68 | id="RestrictedApi" |
| 69 | message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 70 | errorLine1=" res," |
| 71 | errorLine2=" ~~~"> |
| 72 | <location |
| 73 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 74 | </issue> |
| 75 | |
| 76 | <issue |
| 77 | id="RestrictedApi" |
| 78 | message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 79 | errorLine1=" theme," |
| 80 | errorLine2=" ~~~~~"> |
| 81 | <location |
| 82 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 83 | </issue> |
| 84 | |
| 85 | <issue |
| 86 | id="RestrictedApi" |
| 87 | message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 88 | errorLine1=" set," |
| 89 | errorLine2=" ~~~"> |
| 90 | <location |
| 91 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 92 | </issue> |
| 93 | |
| 94 | <issue |
| 95 | id="RestrictedApi" |
| 96 | message="TypedArrayUtils.obtainAttributes can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 97 | errorLine1=" attrs" |
| 98 | errorLine2=" ~~~~~"> |
| 99 | <location |
| 100 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 101 | </issue> |
| 102 | |
| 103 | <issue |
| 104 | id="RestrictedApi" |
| 105 | message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 106 | errorLine1=" val result = TypedArrayUtils.getNamedInt(" |
| 107 | errorLine2=" ~~~~~~~~~~~"> |
| 108 | <location |
| 109 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 110 | </issue> |
| 111 | |
| 112 | <issue |
| 113 | id="RestrictedApi" |
| 114 | message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 115 | errorLine1=" this," |
| 116 | errorLine2=" ~~~~"> |
| 117 | <location |
| 118 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 119 | </issue> |
| 120 | |
| 121 | <issue |
| 122 | id="RestrictedApi" |
| 123 | message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 124 | errorLine1=" xmlParser," |
| 125 | errorLine2=" ~~~~~~~~~"> |
| 126 | <location |
| 127 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 128 | </issue> |
| 129 | |
| 130 | <issue |
| 131 | id="RestrictedApi" |
| 132 | message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 133 | errorLine1=" attrName," |
| 134 | errorLine2=" ~~~~~~~~"> |
| 135 | <location |
| 136 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 137 | </issue> |
| 138 | |
| 139 | <issue |
| 140 | id="RestrictedApi" |
| 141 | message="TypedArrayUtils.getNamedInt can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 142 | errorLine1=" resId," |
| 143 | errorLine2=" ~~~~~"> |
| 144 | <location |
| 145 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 146 | </issue> |
| 147 | |
| 148 | <issue |
| 149 | id="RestrictedApi" |
| 150 | message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 151 | errorLine1=" val result = TypedArrayUtils.getNamedFloat(" |
| 152 | errorLine2=" ~~~~~~~~~~~~~"> |
| 153 | <location |
| 154 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 155 | </issue> |
| 156 | |
| 157 | <issue |
| 158 | id="RestrictedApi" |
| 159 | message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 160 | errorLine1=" this," |
| 161 | errorLine2=" ~~~~"> |
| 162 | <location |
| 163 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 164 | </issue> |
| 165 | |
| 166 | <issue |
| 167 | id="RestrictedApi" |
| 168 | message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 169 | errorLine1=" xmlParser," |
| 170 | errorLine2=" ~~~~~~~~~"> |
| 171 | <location |
| 172 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 173 | </issue> |
| 174 | |
| 175 | <issue |
| 176 | id="RestrictedApi" |
| 177 | message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 178 | errorLine1=" attrName," |
| 179 | errorLine2=" ~~~~~~~~"> |
| 180 | <location |
| 181 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 182 | </issue> |
| 183 | |
| 184 | <issue |
| 185 | id="RestrictedApi" |
| 186 | message="TypedArrayUtils.getNamedFloat can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 187 | errorLine1=" resId," |
| 188 | errorLine2=" ~~~~~"> |
| 189 | <location |
| 190 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 191 | </issue> |
| 192 | |
| 193 | <issue |
| 194 | id="RestrictedApi" |
| 195 | message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 196 | errorLine1=" val result = TypedArrayUtils.getNamedBoolean(" |
| 197 | errorLine2=" ~~~~~~~~~~~~~~~"> |
| 198 | <location |
| 199 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 200 | </issue> |
| 201 | |
| 202 | <issue |
| 203 | id="RestrictedApi" |
| 204 | message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 205 | errorLine1=" this," |
| 206 | errorLine2=" ~~~~"> |
| 207 | <location |
| 208 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 209 | </issue> |
| 210 | |
| 211 | <issue |
| 212 | id="RestrictedApi" |
| 213 | message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 214 | errorLine1=" xmlParser," |
| 215 | errorLine2=" ~~~~~~~~~"> |
| 216 | <location |
| 217 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 218 | </issue> |
| 219 | |
| 220 | <issue |
| 221 | id="RestrictedApi" |
| 222 | message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 223 | errorLine1=" attrName," |
| 224 | errorLine2=" ~~~~~~~~"> |
| 225 | <location |
| 226 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 227 | </issue> |
| 228 | |
| 229 | <issue |
| 230 | id="RestrictedApi" |
| 231 | message="TypedArrayUtils.getNamedBoolean can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 232 | errorLine1=" resId," |
| 233 | errorLine2=" ~~~~~"> |
| 234 | <location |
| 235 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 236 | </issue> |
| 237 | |
| 238 | <issue |
| 239 | id="RestrictedApi" |
| 240 | message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 241 | errorLine1=" val result = TypedArrayUtils.getNamedComplexColor(" |
| 242 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~"> |
| 243 | <location |
| 244 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 245 | </issue> |
| 246 | |
| 247 | <issue |
| 248 | id="RestrictedApi" |
| 249 | message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 250 | errorLine1=" this," |
| 251 | errorLine2=" ~~~~"> |
| 252 | <location |
| 253 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 254 | </issue> |
| 255 | |
| 256 | <issue |
| 257 | id="RestrictedApi" |
| 258 | message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 259 | errorLine1=" xmlParser," |
| 260 | errorLine2=" ~~~~~~~~~"> |
| 261 | <location |
| 262 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 263 | </issue> |
| 264 | |
| 265 | <issue |
| 266 | id="RestrictedApi" |
| 267 | message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 268 | errorLine1=" theme," |
| 269 | errorLine2=" ~~~~~"> |
| 270 | <location |
| 271 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 272 | </issue> |
| 273 | |
| 274 | <issue |
| 275 | id="RestrictedApi" |
| 276 | message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 277 | errorLine1=" attrName," |
| 278 | errorLine2=" ~~~~~~~~"> |
| 279 | <location |
| 280 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 281 | </issue> |
| 282 | |
| 283 | <issue |
| 284 | id="RestrictedApi" |
| 285 | message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 286 | errorLine1=" resId, defaultValue" |
| 287 | errorLine2=" ~~~~~"> |
| 288 | <location |
| 289 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 290 | </issue> |
| 291 | |
| 292 | <issue |
| 293 | id="RestrictedApi" |
| 294 | message="TypedArrayUtils.getNamedComplexColor can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 295 | errorLine1=" resId, defaultValue" |
| 296 | errorLine2=" ~~~~~~~~~~~~"> |
| 297 | <location |
| 298 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 299 | </issue> |
| 300 | |
| 301 | <issue |
| 302 | id="RestrictedApi" |
| 303 | message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 304 | errorLine1=" val result = TypedArrayUtils.getNamedColorStateList(" |
| 305 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| 306 | <location |
| 307 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 308 | </issue> |
| 309 | |
| 310 | <issue |
| 311 | id="RestrictedApi" |
| 312 | message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 313 | errorLine1=" typedArray," |
| 314 | errorLine2=" ~~~~~~~~~~"> |
| 315 | <location |
| 316 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 317 | </issue> |
| 318 | |
| 319 | <issue |
| 320 | id="RestrictedApi" |
| 321 | message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 322 | errorLine1=" xmlParser," |
| 323 | errorLine2=" ~~~~~~~~~"> |
| 324 | <location |
| 325 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 326 | </issue> |
| 327 | |
| 328 | <issue |
| 329 | id="RestrictedApi" |
| 330 | message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 331 | errorLine1=" theme," |
| 332 | errorLine2=" ~~~~~"> |
| 333 | <location |
| 334 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 335 | </issue> |
| 336 | |
| 337 | <issue |
| 338 | id="RestrictedApi" |
| 339 | message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 340 | errorLine1=" attrName," |
| 341 | errorLine2=" ~~~~~~~~"> |
| 342 | <location |
| 343 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 344 | </issue> |
| 345 | |
| 346 | <issue |
| 347 | id="RestrictedApi" |
| 348 | message="TypedArrayUtils.getNamedColorStateList can only be called from within the same library group prefix (referenced groupId=`androidx.core` with prefix androidx from groupId=`androidx.compose.ui`)" |
| 349 | errorLine1=" resId" |
| 350 | errorLine2=" ~~~~~"> |
| 351 | <location |
| 352 | file="src/androidMain/kotlin/androidx/compose/ui/graphics/vector/compat/XmlVectorParser.android.kt"/> |
| 353 | </issue> |
| 354 | |
| 355 | <issue |
Louis Pullen-Freilich | edde6e8 | 2023-06-13 18:43:30 +0100 | [diff] [blame] | 356 | id="PrimitiveInLambda" |
| 357 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor AlignmentLine has parameter 'merger' with type Function2<? super Integer, ? super Integer, Integer>." |
| 358 | errorLine1=" internal val merger: (Int, Int) -> Int" |
| 359 | errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| 360 | <location |
| 361 | file="src/commonMain/kotlin/androidx/compose/ui/layout/AlignmentLine.kt"/> |
| 362 | </issue> |
| 363 | |
| 364 | <issue |
| 365 | id="PrimitiveInLambda" |
| 366 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<Integer, Integer, Integer> of 'getMerger$lint_module'." |
| 367 | errorLine1=" internal val merger: (Int, Int) -> Int" |
| 368 | errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| 369 | <location |
| 370 | file="src/commonMain/kotlin/androidx/compose/ui/layout/AlignmentLine.kt"/> |
| 371 | </issue> |
| 372 | |
| 373 | <issue |
| 374 | id="PrimitiveInLambda" |
| 375 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor VerticalAlignmentLine has parameter 'merger' with type Function2<? super Integer, ? super Integer, Integer>." |
| 376 | errorLine1="class VerticalAlignmentLine(merger: (Int, Int) -> Int) : AlignmentLine(merger)" |
| 377 | errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| 378 | <location |
| 379 | file="src/commonMain/kotlin/androidx/compose/ui/layout/AlignmentLine.kt"/> |
| 380 | </issue> |
| 381 | |
| 382 | <issue |
| 383 | id="PrimitiveInLambda" |
| 384 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor HorizontalAlignmentLine has parameter 'merger' with type Function2<? super Integer, ? super Integer, Integer>." |
| 385 | errorLine1="class HorizontalAlignmentLine(merger: (Int, Int) -> Int) : AlignmentLine(merger)" |
| 386 | errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| 387 | <location |
| 388 | file="src/commonMain/kotlin/androidx/compose/ui/layout/AlignmentLine.kt"/> |
| 389 | </issue> |
| 390 | |
| 391 | <issue |
| 392 | id="PrimitiveInLambda" |
| 393 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'setSelectionAction' with type AccessibilityAction<Function3<? super Integer, ? super Integer, ? super Boolean, ? extends Boolean>>." |
| 394 | errorLine1=" val setSelectionAction =" |
| 395 | errorLine2=" ^"> |
| 396 | <location |
| 397 | file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"/> |
| 398 | </issue> |
| 399 | |
| 400 | <issue |
| 401 | id="PrimitiveInLambda" |
| 402 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollAction' with type AccessibilityAction<Function2<? super Float, ? super Float, ? extends Boolean>>." |
| 403 | errorLine1=" val scrollAction = semanticsNode.unmergedConfig.getOrNull(SemanticsActions.ScrollBy)" |
| 404 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 405 | <location |
| 406 | file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"/> |
| 407 | </issue> |
| 408 | |
| 409 | <issue |
| 410 | id="PrimitiveInLambda" |
| 411 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'setProgressAction' with type AccessibilityAction<Function1<? super Float, ? extends Boolean>>." |
| 412 | errorLine1=" val setProgressAction =" |
| 413 | errorLine2=" ^"> |
| 414 | <location |
| 415 | file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"/> |
| 416 | </issue> |
| 417 | |
| 418 | <issue |
| 419 | id="PrimitiveInLambda" |
George Mount | 7b3cd84 | 2023-06-02 17:49:29 -0700 | [diff] [blame] | 420 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'canScroll' with type Function2<? super ScrollAxisRange, ? super Float, ? extends Boolean>." |
| 421 | errorLine1=" // Will the scrollable scroll when ScrollBy is invoked with the given [amount]?" |
| 422 | errorLine2=" ^"> |
| 423 | <location |
| 424 | file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"/> |
| 425 | </issue> |
| 426 | |
| 427 | <issue |
| 428 | id="PrimitiveInLambda" |
Louis Pullen-Freilich | edde6e8 | 2023-06-13 18:43:30 +0100 | [diff] [blame] | 429 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollAction' with type AccessibilityAction<Function2<? super Float, ? super Float, ? extends Boolean>>." |
Louis Pullen-Freilich | 1ffdbfc | 2023-08-24 18:35:34 +0100 | [diff] [blame^] | 430 | errorLine1=" val scrollAction =" |
| 431 | errorLine2=" ^"> |
| 432 | <location |
| 433 | file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"/> |
| 434 | </issue> |
| 435 | |
| 436 | <issue |
| 437 | id="PrimitiveInLambda" |
| 438 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollAction' with type AccessibilityAction<Function2<? super Float, ? super Float, ? extends Boolean>>." |
Louis Pullen-Freilich | edde6e8 | 2023-06-13 18:43:30 +0100 | [diff] [blame] | 439 | errorLine1=" var scrollAction = scrollableAncestor?.config?.getOrNull(SemanticsActions.ScrollBy)" |
| 440 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 441 | <location |
| 442 | file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"/> |
| 443 | </issue> |
| 444 | |
| 445 | <issue |
| 446 | id="PrimitiveInLambda" |
George Mount | 7b3cd84 | 2023-06-02 17:49:29 -0700 | [diff] [blame] | 447 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'scrollDelta' with type Function2<? super Float, ? super Float, ? extends Float>." |
| 448 | errorLine1=" // Given the desired scroll value to align either side of the target with the" |
| 449 | errorLine2=" ^"> |
| 450 | <location |
| 451 | file="src/androidMain/kotlin/androidx/compose/ui/platform/AndroidComposeViewAccessibilityDelegateCompat.android.kt"/> |
| 452 | </issue> |
| 453 | |
| 454 | <issue |
| 455 | id="PrimitiveInLambda" |
Louis Pullen-Freilich | edde6e8 | 2023-06-13 18:43:30 +0100 | [diff] [blame] | 456 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<ComposeUiNode, Integer, Unit> of 'getSetCompositeKeyHash'." |
| 457 | errorLine1=" val SetCompositeKeyHash: ComposeUiNode.(Int) -> Unit =" |
| 458 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 459 | <location |
| 460 | file="src/commonMain/kotlin/androidx/compose/ui/node/ComposeUiNode.kt"/> |
| 461 | </issue> |
| 462 | |
| 463 | <issue |
| 464 | id="PrimitiveInLambda" |
| 465 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'factory' with type Function3<? super Modifier, ? super Composer, ? super Integer, ? extends Modifier>." |
| 466 | errorLine1=" @Suppress("UNCHECKED_CAST")" |
| 467 | errorLine2=" ^"> |
| 468 | <location |
| 469 | file="src/commonMain/kotlin/androidx/compose/ui/ComposedModifier.kt"/> |
| 470 | </issue> |
| 471 | |
| 472 | <issue |
| 473 | id="PrimitiveInLambda" |
| 474 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<FocusDirection, FocusRequester> of 'getEnter'." |
| 475 | errorLine1=" var enter: (FocusDirection) -> FocusRequester" |
| 476 | errorLine2=" ~~~~~"> |
| 477 | <location |
| 478 | file="src/commonMain/kotlin/androidx/compose/ui/focus/FocusProperties.kt"/> |
| 479 | </issue> |
| 480 | |
| 481 | <issue |
| 482 | id="PrimitiveInLambda" |
| 483 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setEnter has parameter '_' with type Function1<? super FocusDirection, FocusRequester>." |
| 484 | errorLine1=" set(_) {}" |
| 485 | errorLine2=" ~"> |
| 486 | <location |
| 487 | file="src/commonMain/kotlin/androidx/compose/ui/focus/FocusProperties.kt"/> |
| 488 | </issue> |
| 489 | |
| 490 | <issue |
| 491 | id="PrimitiveInLambda" |
| 492 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<FocusDirection, FocusRequester> of 'getExit'." |
| 493 | errorLine1=" var exit: (FocusDirection) -> FocusRequester" |
| 494 | errorLine2=" ~~~~"> |
| 495 | <location |
| 496 | file="src/commonMain/kotlin/androidx/compose/ui/focus/FocusProperties.kt"/> |
| 497 | </issue> |
| 498 | |
| 499 | <issue |
| 500 | id="PrimitiveInLambda" |
| 501 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setExit has parameter '_' with type Function1<? super FocusDirection, FocusRequester>." |
| 502 | errorLine1=" set(_) {}" |
| 503 | errorLine2=" ~"> |
| 504 | <location |
| 505 | file="src/commonMain/kotlin/androidx/compose/ui/focus/FocusProperties.kt"/> |
| 506 | </issue> |
| 507 | |
| 508 | <issue |
| 509 | id="PrimitiveInLambda" |
| 510 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method withInfiniteAnimationFrameNanos has parameter 'onFrame' with type Function1<? super Long, ? extends R>." |
| 511 | errorLine1="internal suspend fun <R> withInfiniteAnimationFrameNanos(onFrame: (frameTimeNanos: Long) -> R): R =" |
| 512 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 513 | <location |
| 514 | file="src/commonMain/kotlin/androidx/compose/ui/platform/InfiniteAnimationPolicy.kt"/> |
| 515 | </issue> |
| 516 | |
| 517 | <issue |
| 518 | id="PrimitiveInLambda" |
| 519 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor InputModeManagerImpl has parameter 'onRequestInputModeChange' with type Function1<? super InputMode, Boolean>." |
| 520 | errorLine1=" private val onRequestInputModeChange: (InputMode) -> Boolean" |
| 521 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~"> |
| 522 | <location |
| 523 | file="src/commonMain/kotlin/androidx/compose/ui/input/InputModeManager.kt"/> |
| 524 | </issue> |
| 525 | |
| 526 | <issue |
| 527 | id="PrimitiveInLambda" |
George Mount | 7b3cd84 | 2023-06-02 17:49:29 -0700 | [diff] [blame] | 528 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor IntermediateLayoutModifierNode has parameter 'measureBlock' with type Function3<? super IntermediateMeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult>." |
| 529 | errorLine1=" internal var measureBlock: IntermediateMeasureScope.(" |
| 530 | errorLine2=" ^"> |
| 531 | <location |
| 532 | file="src/commonMain/kotlin/androidx/compose/ui/layout/IntermediateLayoutModifierNode.kt"/> |
| 533 | </issue> |
| 534 | |
| 535 | <issue |
| 536 | id="PrimitiveInLambda" |
| 537 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setMeasureBlock$lint_module has parameter '<set-?>' with type Function3<? super IntermediateMeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult>." |
| 538 | errorLine1=" internal var measureBlock: IntermediateMeasureScope.(" |
| 539 | errorLine2=" ^"> |
| 540 | <location |
| 541 | file="src/commonMain/kotlin/androidx/compose/ui/layout/IntermediateLayoutModifierNode.kt"/> |
| 542 | </issue> |
| 543 | |
| 544 | <issue |
| 545 | id="PrimitiveInLambda" |
| 546 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function3<IntermediateMeasureScope, Measurable, Constraints, MeasureResult> of 'getMeasureBlock$lint_module'." |
| 547 | errorLine1=" internal var measureBlock: IntermediateMeasureScope.(" |
| 548 | errorLine2=" ^"> |
| 549 | <location |
| 550 | file="src/commonMain/kotlin/androidx/compose/ui/layout/IntermediateLayoutModifierNode.kt"/> |
| 551 | </issue> |
| 552 | |
| 553 | <issue |
| 554 | id="PrimitiveInLambda" |
| 555 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method layout has parameter 'measure' with type Function3<? super MeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult>." |
| 556 | errorLine1=" measure: MeasureScope.(Measurable, Constraints) -> MeasureResult" |
| 557 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 558 | <location |
| 559 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LayoutModifier.kt"/> |
| 560 | </issue> |
| 561 | |
| 562 | <issue |
| 563 | id="PrimitiveInLambda" |
| 564 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LayoutElement has parameter 'measure' with type Function3<? super MeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult>." |
| 565 | errorLine1=" val measure: MeasureScope.(Measurable, Constraints) -> MeasureResult" |
| 566 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 567 | <location |
| 568 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LayoutModifier.kt"/> |
| 569 | </issue> |
| 570 | |
| 571 | <issue |
| 572 | id="PrimitiveInLambda" |
| 573 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function3<MeasureScope, Measurable, Constraints, MeasureResult> of 'getMeasure'." |
| 574 | errorLine1=" val measure: MeasureScope.(Measurable, Constraints) -> MeasureResult" |
| 575 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 576 | <location |
| 577 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LayoutModifier.kt"/> |
| 578 | </issue> |
| 579 | |
| 580 | <issue |
| 581 | id="PrimitiveInLambda" |
| 582 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor LayoutModifierImpl has parameter 'measureBlock' with type Function3<? super MeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult>." |
| 583 | errorLine1=" var measureBlock: MeasureScope.(Measurable, Constraints) -> MeasureResult" |
| 584 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 585 | <location |
| 586 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LayoutModifier.kt"/> |
| 587 | </issue> |
| 588 | |
| 589 | <issue |
| 590 | id="PrimitiveInLambda" |
| 591 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setMeasureBlock has parameter '<set-?>' with type Function3<? super MeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult>." |
| 592 | errorLine1=" var measureBlock: MeasureScope.(Measurable, Constraints) -> MeasureResult" |
| 593 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 594 | <location |
| 595 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LayoutModifier.kt"/> |
| 596 | </issue> |
| 597 | |
| 598 | <issue |
| 599 | id="PrimitiveInLambda" |
| 600 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function3<MeasureScope, Measurable, Constraints, MeasureResult> of 'getMeasureBlock'." |
| 601 | errorLine1=" var measureBlock: MeasureScope.(Measurable, Constraints) -> MeasureResult" |
| 602 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 603 | <location |
| 604 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LayoutModifier.kt"/> |
| 605 | </issue> |
| 606 | |
| 607 | <issue |
| 608 | id="PrimitiveInLambda" |
| 609 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'printSubTree' with type Function2<? super LayoutNode, ? super Integer, ? extends Unit>." |
| 610 | errorLine1=" fun printSubTree(node: LayoutNode, depth: Int) {" |
| 611 | errorLine2=" ^"> |
| 612 | <location |
| 613 | file="src/commonMain/kotlin/androidx/compose/ui/node/LayoutTreeConsistencyChecker.kt"/> |
| 614 | </issue> |
| 615 | |
| 616 | <issue |
| 617 | id="PrimitiveInLambda" |
| 618 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method intermediateLayout has parameter 'measure' with type Function3<? super IntermediateMeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult>." |
| 619 | errorLine1=" measure: IntermediateMeasureScope.(" |
| 620 | errorLine2=" ^"> |
| 621 | <location |
| 622 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LookaheadScope.kt"/> |
| 623 | </issue> |
| 624 | |
| 625 | <issue |
| 626 | id="PrimitiveInLambda" |
| 627 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor IntermediateLayoutElement has parameter 'measure' with type Function3<? super IntermediateMeasureScope, ? super Measurable, ? super Constraints, ? extends MeasureResult>." |
| 628 | errorLine1=" val measure: IntermediateMeasureScope.(" |
| 629 | errorLine2=" ^"> |
| 630 | <location |
| 631 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LookaheadScope.kt"/> |
| 632 | </issue> |
| 633 | |
| 634 | <issue |
| 635 | id="PrimitiveInLambda" |
| 636 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function3<IntermediateMeasureScope, Measurable, Constraints, MeasureResult> of 'getMeasure'." |
| 637 | errorLine1=" val measure: IntermediateMeasureScope.(" |
| 638 | errorLine2=" ^"> |
| 639 | <location |
| 640 | file="src/commonMain/kotlin/androidx/compose/ui/layout/LookaheadScope.kt"/> |
| 641 | </issue> |
| 642 | |
| 643 | <issue |
| 644 | id="PrimitiveInLambda" |
| 645 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method onSizeChanged has parameter 'onSizeChanged' with type Function1<? super IntSize, Unit>." |
| 646 | errorLine1=" onSizeChanged: (IntSize) -> Unit" |
| 647 | errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| 648 | <location |
| 649 | file="src/commonMain/kotlin/androidx/compose/ui/layout/OnRemeasuredModifier.kt"/> |
| 650 | </issue> |
| 651 | |
| 652 | <issue |
| 653 | id="PrimitiveInLambda" |
| 654 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor OnSizeChangedModifier has parameter 'onSizeChanged' with type Function1<? super IntSize, Unit>." |
| 655 | errorLine1=" val onSizeChanged: (IntSize) -> Unit," |
| 656 | errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| 657 | <location |
| 658 | file="src/commonMain/kotlin/androidx/compose/ui/layout/OnRemeasuredModifier.kt"/> |
| 659 | </issue> |
| 660 | |
| 661 | <issue |
| 662 | id="PrimitiveInLambda" |
| 663 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function1<IntSize, Unit> of 'getOnSizeChanged'." |
| 664 | errorLine1=" val onSizeChanged: (IntSize) -> Unit," |
| 665 | errorLine2=" ~~~~~~~~~~~~~~~~~"> |
| 666 | <location |
| 667 | file="src/commonMain/kotlin/androidx/compose/ui/layout/OnRemeasuredModifier.kt"/> |
| 668 | </issue> |
| 669 | |
| 670 | <issue |
| 671 | id="PrimitiveInLambda" |
| 672 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method invokeOverAllPasses has parameter '$this$invokeOverAllPasses' with type Function3<? super PointerEvent, ? super PointerEventPass, ? super IntSize, Unit>." |
| 673 | errorLine1="internal fun PointerInputHandler.invokeOverAllPasses(" |
| 674 | errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| 675 | <location |
| 676 | file="src/commonMain/kotlin/androidx/compose/ui/input/pointer/PointerInputTestUtil.kt"/> |
| 677 | </issue> |
| 678 | |
| 679 | <issue |
| 680 | id="PrimitiveInLambda" |
| 681 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method invokeOverPass has parameter '$this$invokeOverPass' with type Function3<? super PointerEvent, ? super PointerEventPass, ? super IntSize, Unit>." |
| 682 | errorLine1="internal fun PointerInputHandler.invokeOverPass(" |
| 683 | errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| 684 | <location |
| 685 | file="src/commonMain/kotlin/androidx/compose/ui/input/pointer/PointerInputTestUtil.kt"/> |
| 686 | </issue> |
| 687 | |
| 688 | <issue |
| 689 | id="PrimitiveInLambda" |
| 690 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method invokeOverPasses has parameter '$this$invokeOverPasses' with type Function3<? super PointerEvent, ? super PointerEventPass, ? super IntSize, Unit>." |
| 691 | errorLine1="internal fun PointerInputHandler.invokeOverPasses(" |
| 692 | errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| 693 | <location |
| 694 | file="src/commonMain/kotlin/androidx/compose/ui/input/pointer/PointerInputTestUtil.kt"/> |
| 695 | </issue> |
| 696 | |
| 697 | <issue |
| 698 | id="PrimitiveInLambda" |
| 699 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method invokeOverPasses has parameter '$this$invokeOverPasses' with type Function3<? super PointerEvent, ? super PointerEventPass, ? super IntSize, Unit>." |
| 700 | errorLine1="internal fun PointerInputHandler.invokeOverPasses(" |
| 701 | errorLine2=" ~~~~~~~~~~~~~~~~~~~"> |
| 702 | <location |
| 703 | file="src/commonMain/kotlin/androidx/compose/ui/input/pointer/PointerInputTestUtil.kt"/> |
| 704 | </issue> |
| 705 | |
| 706 | <issue |
| 707 | id="PrimitiveInLambda" |
Louis Pullen-Freilich | edde6e8 | 2023-06-13 18:43:30 +0100 | [diff] [blame] | 708 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type SemanticsPropertyKey<Function1<Object, Integer>> of 'getIndexForKey'." |
| 709 | errorLine1=" val IndexForKey = SemanticsPropertyKey<(Any) -> Int>("IndexForKey")" |
| 710 | errorLine2=" ~~~~~~~~~~~"> |
| 711 | <location |
| 712 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 713 | </issue> |
| 714 | |
| 715 | <issue |
| 716 | id="PrimitiveInLambda" |
| 717 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type SemanticsPropertyKey<AccessibilityAction<Function2<Float, Float, Boolean>>> of 'getScrollBy'." |
| 718 | errorLine1=" val ScrollBy = ActionPropertyKey<(x: Float, y: Float) -> Boolean>("ScrollBy")" |
| 719 | errorLine2=" ~~~~~~~~"> |
| 720 | <location |
| 721 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 722 | </issue> |
| 723 | |
| 724 | <issue |
| 725 | id="PrimitiveInLambda" |
| 726 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type SemanticsPropertyKey<AccessibilityAction<Function1<Integer, Boolean>>> of 'getScrollToIndex'." |
| 727 | errorLine1=" val ScrollToIndex = ActionPropertyKey<(Int) -> Boolean>("ScrollToIndex")" |
| 728 | errorLine2=" ~~~~~~~~~~~~~"> |
| 729 | <location |
| 730 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 731 | </issue> |
| 732 | |
| 733 | <issue |
| 734 | id="PrimitiveInLambda" |
| 735 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type SemanticsPropertyKey<AccessibilityAction<Function1<Float, Boolean>>> of 'getSetProgress'." |
| 736 | errorLine1=" val SetProgress = ActionPropertyKey<(progress: Float) -> Boolean>("SetProgress")" |
| 737 | errorLine2=" ~~~~~~~~~~~"> |
| 738 | <location |
| 739 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 740 | </issue> |
| 741 | |
| 742 | <issue |
| 743 | id="PrimitiveInLambda" |
| 744 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type SemanticsPropertyKey<AccessibilityAction<Function3<Integer, Integer, Boolean, Boolean>>> of 'getSetSelection'." |
| 745 | errorLine1=" val SetSelection = ActionPropertyKey<(Int, Int, Boolean) -> Boolean>("SetSelection")" |
| 746 | errorLine2=" ~~~~~~~~~~~~"> |
| 747 | <location |
| 748 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 749 | </issue> |
| 750 | |
| 751 | <issue |
| 752 | id="PrimitiveInLambda" |
| 753 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor ScrollAxisRange has parameter 'value' with type Function0<Float>." |
| 754 | errorLine1=" val value: () -> Float," |
| 755 | errorLine2=" ~~~~~~~~~~~"> |
| 756 | <location |
| 757 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 758 | </issue> |
| 759 | |
| 760 | <issue |
| 761 | id="PrimitiveInLambda" |
| 762 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function0<Float> of 'getValue'." |
| 763 | errorLine1=" val value: () -> Float," |
| 764 | errorLine2=" ~~~~~~~~~~~"> |
| 765 | <location |
| 766 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 767 | </issue> |
| 768 | |
| 769 | <issue |
| 770 | id="PrimitiveInLambda" |
| 771 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in constructor ScrollAxisRange has parameter 'maxValue' with type Function0<Float>." |
| 772 | errorLine1=" val maxValue: () -> Float," |
| 773 | errorLine2=" ~~~~~~~~~~~"> |
| 774 | <location |
| 775 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 776 | </issue> |
| 777 | |
| 778 | <issue |
| 779 | id="PrimitiveInLambda" |
| 780 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function0<Float> of 'getMaxValue'." |
| 781 | errorLine1=" val maxValue: () -> Float," |
| 782 | errorLine2=" ~~~~~~~~~~~"> |
| 783 | <location |
| 784 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 785 | </issue> |
| 786 | |
| 787 | <issue |
| 788 | id="PrimitiveInLambda" |
| 789 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method indexForKey has parameter 'mapping' with type Function1<Object, Integer>." |
| 790 | errorLine1="fun SemanticsPropertyReceiver.indexForKey(mapping: (Any) -> Int) {" |
| 791 | errorLine2=" ~~~~~~~~~~~~"> |
| 792 | <location |
| 793 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 794 | </issue> |
| 795 | |
| 796 | <issue |
| 797 | id="PrimitiveInLambda" |
| 798 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method scrollBy has parameter 'action' with type Function2<? super Float, ? super Float, Boolean>." |
| 799 | errorLine1=" action: ((x: Float, y: Float) -> Boolean)?" |
| 800 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 801 | <location |
| 802 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 803 | </issue> |
| 804 | |
| 805 | <issue |
| 806 | id="PrimitiveInLambda" |
| 807 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method scrollToIndex has parameter 'action' with type Function1<? super Integer, Boolean>." |
| 808 | errorLine1=" action: (Int) -> Boolean" |
| 809 | errorLine2=" ~~~~~~~~~~~~~~~~"> |
| 810 | <location |
| 811 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 812 | </issue> |
| 813 | |
| 814 | <issue |
| 815 | id="PrimitiveInLambda" |
| 816 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setProgress has parameter 'action' with type Function1<? super Float, Boolean>." |
| 817 | errorLine1="fun SemanticsPropertyReceiver.setProgress(label: String? = null, action: ((Float) -> Boolean)?) {" |
| 818 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~"> |
| 819 | <location |
| 820 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 821 | </issue> |
| 822 | |
| 823 | <issue |
| 824 | id="PrimitiveInLambda" |
| 825 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method setSelection has parameter 'action' with type Function3<? super Integer, ? super Integer, ? super Boolean, Boolean>." |
| 826 | errorLine1=" action: ((startIndex: Int, endIndex: Int, relativeToOriginalText: Boolean) -> Boolean)?" |
| 827 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 828 | <location |
| 829 | file="src/commonMain/kotlin/androidx/compose/ui/semantics/SemanticsProperties.kt"/> |
| 830 | </issue> |
| 831 | |
| 832 | <issue |
| 833 | id="PrimitiveInLambda" |
George Mount | 7b3cd84 | 2023-06-02 17:49:29 -0700 | [diff] [blame] | 834 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SubcomposeLayout has parameter 'measurePolicy' with type Function2<? super SubcomposeMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| 835 | errorLine1=" measurePolicy: SubcomposeMeasureScope.(Constraints) -> MeasureResult" |
| 836 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 837 | <location |
| 838 | file="src/commonMain/kotlin/androidx/compose/ui/layout/SubcomposeLayout.kt"/> |
| 839 | </issue> |
| 840 | |
| 841 | <issue |
| 842 | id="PrimitiveInLambda" |
| 843 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method SubcomposeLayout has parameter 'measurePolicy' with type Function2<? super SubcomposeMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| 844 | errorLine1=" measurePolicy: SubcomposeMeasureScope.(Constraints) -> MeasureResult" |
| 845 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 846 | <location |
| 847 | file="src/commonMain/kotlin/androidx/compose/ui/layout/SubcomposeLayout.kt"/> |
| 848 | </issue> |
| 849 | |
| 850 | <issue |
| 851 | id="PrimitiveInLambda" |
| 852 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in return type Function2<LayoutNode, Function2<? super SubcomposeMeasureScope, ? super Constraints, ? extends MeasureResult>, Unit> of 'getSetMeasurePolicy$lint_module'." |
| 853 | errorLine1=" LayoutNode.((SubcomposeMeasureScope.(Constraints) -> MeasureResult)) -> Unit =" |
| 854 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 855 | <location |
| 856 | file="src/commonMain/kotlin/androidx/compose/ui/layout/SubcomposeLayout.kt"/> |
| 857 | </issue> |
| 858 | |
| 859 | <issue |
| 860 | id="PrimitiveInLambda" |
| 861 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method createMeasurePolicy has parameter 'block' with type Function2<? super SubcomposeMeasureScope, ? super Constraints, ? extends MeasureResult>." |
| 862 | errorLine1=" block: SubcomposeMeasureScope.(Constraints) -> MeasureResult" |
| 863 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 864 | <location |
| 865 | file="src/commonMain/kotlin/androidx/compose/ui/layout/SubcomposeLayout.kt"/> |
| 866 | </issue> |
| 867 | |
| 868 | <issue |
| 869 | id="PrimitiveInLambda" |
| 870 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'majorAxisDistance' with type Function1<? super Rect, ? extends Float>." |
| 871 | errorLine1=" // The distance from the edge furthest in the given direction of source to the edge nearest" |
| 872 | errorLine2=" ^"> |
| 873 | <location |
| 874 | file="src/commonMain/kotlin/androidx/compose/ui/focus/TwoDimensionalFocusSearch.kt"/> |
| 875 | </issue> |
| 876 | |
| 877 | <issue |
| 878 | id="PrimitiveInLambda" |
| 879 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'minorAxisDistance' with type Function1<? super Rect, ? extends Float>." |
| 880 | errorLine1=" // Find the distance on the minor axis w.r.t the direction to the nearest edge of the" |
| 881 | errorLine2=" ^"> |
| 882 | <location |
| 883 | file="src/commonMain/kotlin/androidx/compose/ui/focus/TwoDimensionalFocusSearch.kt"/> |
| 884 | </issue> |
| 885 | |
| 886 | <issue |
| 887 | id="PrimitiveInLambda" |
| 888 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'weightedDistance' with type Function1<? super Rect, ? extends Long>." |
| 889 | errorLine1=" // Fudge-factor opportunity: how to calculate distance given major and minor axis distances." |
| 890 | errorLine2=" ^"> |
| 891 | <location |
| 892 | file="src/commonMain/kotlin/androidx/compose/ui/focus/TwoDimensionalFocusSearch.kt"/> |
| 893 | </issue> |
| 894 | |
| 895 | <issue |
| 896 | id="PrimitiveInLambda" |
| 897 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'majorAxisDistance' with type Function1<? super Rect, ? extends Float>." |
| 898 | errorLine1=" // The distance from the edge furthest in the given direction of source to the edge nearest" |
| 899 | errorLine2=" ^"> |
| 900 | <location |
| 901 | file="src/commonMain/kotlin/androidx/compose/ui/focus/TwoDimensionalFocusSearch.kt"/> |
| 902 | </issue> |
| 903 | |
| 904 | <issue |
| 905 | id="PrimitiveInLambda" |
| 906 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in variable 'majorAxisDistanceToFarEdge' with type Function1<? super Rect, ? extends Float>." |
| 907 | errorLine1=" // The distance along the major axis w.r.t the direction from the edge of source to the far" |
| 908 | errorLine2=" ^"> |
| 909 | <location |
| 910 | file="src/commonMain/kotlin/androidx/compose/ui/focus/TwoDimensionalFocusSearch.kt"/> |
| 911 | </issue> |
| 912 | |
| 913 | <issue |
| 914 | id="PrimitiveInLambda" |
Louis Pullen-Freilich | edde6e8 | 2023-06-13 18:43:30 +0100 | [diff] [blame] | 915 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberVectorPainter has parameter 'content' with type Function2<? super Float, ? super Float, Unit>." |
| 916 | errorLine1=" content: @Composable @VectorComposable (viewportWidth: Float, viewportHeight: Float) -> Unit" |
| 917 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 918 | <location |
| 919 | file="src/commonMain/kotlin/androidx/compose/ui/graphics/vector/VectorPainter.kt"/> |
| 920 | </issue> |
| 921 | |
| 922 | <issue |
| 923 | id="PrimitiveInLambda" |
| 924 | message="Use a functional interface instead of lambda syntax for lambdas with primitive values in method rememberVectorPainter has parameter 'content' with type Function2<? super Float, ? super Float, Unit>." |
| 925 | errorLine1=" content: @Composable @VectorComposable (viewportWidth: Float, viewportHeight: Float) -> Unit" |
| 926 | errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| 927 | <location |
| 928 | file="src/commonMain/kotlin/androidx/compose/ui/graphics/vector/VectorPainter.kt"/> |
| 929 | </issue> |
| 930 | |
Julia McClellan | 9719ea5 | 2022-10-21 13:35:04 +0000 | [diff] [blame] | 931 | </issues> |