We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1a5203 commit ad51767Copy full SHA for ad51767
java/kotlin-extractor/src/main/kotlin/KotlinUsesExtractor.kt
@@ -551,6 +551,20 @@ open class KotlinUsesExtractor(
551
)
552
}
553
554
+ /*
555
+ Kotlin arrays can be broken down as:
556
+
557
+ isArray(t)
558
+ |- t.isBoxedArray
559
+ | |- t.isArray() e.g. Array<Boolean>, Array<Boolean?>
560
+ | |- t.isNullableArray() e.g. Array<Boolean>?, Array<Boolean?>?
561
+ |- t.isPrimitiveArray() e.g. BooleanArray
562
563
+ For the corresponding Java types:
564
+ Boxed arrays are represented as e.g. java.lang.Boolean[].
565
+ Primitive arrays are represented as e.g. boolean[].
566
+ */
567
568
data class ArrayInfo(val elementTypeResults: TypeResults,
569
val componentTypeResults: TypeResults,
570
val dimensions: Int)
0 commit comments