| <?xml version="1.0" encoding="UTF-8"?> |
| <issues format="6" by="lint 8.2.0-beta01" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.0-beta01)" variant="all" version="8.2.0-beta01"> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field anchorLookup with type Map<Integer, Object>: replace with IntObjectMap" |
| errorLine1=" private val anchorLookup = mutableMapOf<Int, Any>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/util/AnchorMap.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field idLookup with type IdentityHashMap<Object, Integer>: replace with ObjectIntMap" |
| errorLine1=" private val idLookup = IdentityHashMap<Any, Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/util/AnchorMap.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field viewsToSkip with type List<Long>: replace with LongList" |
| errorLine1=" val viewsToSkip: List<Long> =" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/compose/AndroidComposeViewWrapper.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Long> of getViewsToSkip: replace with LongList" |
| errorLine1=" val viewsToSkip: List<Long> =" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/compose/AndroidComposeViewWrapper.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, InspectorNode> of getLookup: replace with LongObjectMap" |
| errorLine1=" val lookup: Map<Long, InspectorNode>" |
| errorLine2=" ~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable var785951a with type Map<Long, ? extends InspectorNode>: replace with LongObjectMap" |
| errorLine1=" get() = _lookup ?: trees.flatMap { it.nodes }" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field _lookup with type Map<Long, InspectorNode>: replace with LongObjectMap" |
| errorLine1=" private var _lookup: Map<Long, InspectorNode>? = null" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor CacheTree has parameter viewsToSkip with type List<Long>: replace with LongList" |
| errorLine1=" val viewsToSkip: List<Long>" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field viewsToSkip with type List<Long>: replace with LongList" |
| errorLine1=" val viewsToSkip: List<Long>" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type List<Long> of getViewsToSkip: replace with LongList" |
| errorLine1=" val viewsToSkip: List<Long>" |
| errorLine2=" ~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field _cachedNodes with type Map<Long, CacheData>: replace with LongObjectMap" |
| errorLine1=" private val _cachedNodes = mutableMapOf<Long, CacheData>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Map<Long, CacheData> of getCachedNodes: replace with LongObjectMap" |
| errorLine1=" private val cachedNodes: MutableMap<Long, CacheData>" |
| errorLine2=" ~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable data with type Map<Long, ? extends CacheData>: replace with LongObjectMap" |
| errorLine1=" val data = ThreadUtils.runOnMainThread {" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable composeViewsByRoot with type Map<Long, ? extends List<? extends AndroidComposeViewWrapper>>: replace with LongObjectMap" |
| errorLine1=" val composeViewsByRoot = composeViews.groupBy { it.rootView.uniqueDrawingId }" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="variable data with type Map<Long, ? extends CacheData>: replace with LongObjectMap" |
| errorLine1=" val data = composeViewsByRoot.mapValues { (_, composeViews) ->" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/ComposeLayoutInspector.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="method asIntArray has parameter $this$asIntArray with type List<Integer>: replace with IntList" |
| errorLine1="fun List<Int>.asIntArray() =" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/util/IntArray.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field semanticsMap with type Map<Integer, List<RawParameter>>: replace with IntObjectMap" |
| errorLine1=" /** Map from semantics id to a list of merged semantics information */" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/inspector/LayoutInspectorTree.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field unmergedSemanticsMap with type Map<Integer, List<RawParameter>>: replace with IntObjectMap" |
| errorLine1=" /* Map of seemantics id to a list of unmerged semantics information */" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/inspector/LayoutInspectorTree.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field found with type Map<Long, InspectorNode>: replace with LongObjectMap" |
| errorLine1=" /**" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/inspector/LayoutInspectorTree.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="constructor NodeParameterReference has parameter indices with type List<Integer>: replace with IntList" |
| errorLine1=" indices: List<Int>" |
| errorLine2=" ~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/inspector/NodeParameterReference.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field systemPackages with type Set<Integer>: replace with IntSet" |
| errorLine1="val systemPackages = setOf(" |
| errorLine2="^"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/inspector/PackageHashes.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="return type Set<Integer> of getSystemPackages: replace with IntSet" |
| errorLine1="val systemPackages = setOf(" |
| errorLine2=" ~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/inspector/PackageHashes.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field valueIndex with type List<Integer>: replace with IntList" |
| errorLine1=" private val valueIndex = mutableListOf<Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/inspector/ParameterFactory.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field rootValueIndexCache with type Map<Long, IdentityHashMap<Object, NodeParameterReference>>: replace with LongObjectMap" |
| errorLine1=" private val rootValueIndexCache =" |
| errorLine2=" ^"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/inspector/ParameterFactory.kt"/> |
| </issue> |
| |
| <issue |
| id="PrimitiveInCollection" |
| message="field innerMap with type Map<String, Integer>: replace with ObjectIntMap" |
| errorLine1=" private val innerMap = mutableMapOf<String, Int>()" |
| errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"> |
| <location |
| file="src/main/java/androidx/compose/ui/inspection/proto/StringTable.kt"/> |
| </issue> |
| |
| </issues> |