/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeItemTest.kt | 19 import com.android.tools.metalava.model.ArrayTypeItem 148 assertThat(intArray).isInstanceOf(ArrayTypeItem::class.java) in Test primitive array types() 149 val int = (intArray as ArrayTypeItem).componentType in Test primitive array types() 156 assertThat(charArray).isInstanceOf(ArrayTypeItem::class.java) in Test primitive array types() 157 val char = (charArray as ArrayTypeItem).componentType in Test primitive array types() 204 assertThat(intArray).isInstanceOf(ArrayTypeItem::class.java) in Test primitive vararg types() 205 val int = (intArray as ArrayTypeItem).componentType in Test primitive vararg types() 247 assertThat(intArrayArray).isInstanceOf(ArrayTypeItem::class.java) in Test multidimensional primitive array types() 248 assertThat((intArrayArray as ArrayTypeItem).isVarargs).isFalse() in Test multidimensional primitive array types() 251 assertThat(intArray).isInstanceOf(ArrayTypeItem::class.java) in Test multidimensional primitive array types() [all …]
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | TypeVisitor.kt | 22 fun visit(arrayType: ArrayTypeItem) = Unit in <lambda>() 37 override fun visit(arrayType: ArrayTypeItem) { in visit() 69 open fun visitArrayType(arrayType: ArrayTypeItem) = Unit in visitType() 92 fun visit(arrayType: ArrayTypeItem, other: List<TypeItem>) { in visitType() 98 other.mapNotNull { (it as? ArrayTypeItem)?.componentType } in visitType() 146 open fun visitArrayType(arrayType: ArrayTypeItem, other: List<TypeItem>) = Unit in visitType()
|
D | TypeItem.kt | 453 is ArrayTypeItem -> { in hashCode() 460 while (deepComponentType is ArrayTypeItem) { in hashCode() 629 is ArrayTypeItem -> { in hashCode() 837 interface ArrayTypeItem : TypeItem, ReferenceTypeItem { in hashCodeForType() interface 852 override fun duplicate(): ArrayTypeItem = duplicate(componentType.duplicate()) in hashCodeForType() 858 fun duplicate(componentType: TypeItem): ArrayTypeItem in hashCodeForType() 860 override fun convertType(typeParameterBindings: TypeParameterBindings): ArrayTypeItem { in hashCodeForType() 865 if (other !is ArrayTypeItem) return false in hashCodeForType()
|
D | ModifierListWriter.kt | 381 type is ArrayTypeItem && in <lambda>()
|
D | MethodItem.kt | 437 is ArrayTypeItem -> componentType.hasHiddenType(filterReference) in <lambda>()
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/ |
D | DefaultArrayTypeItem.kt | 19 import com.android.tools.metalava.model.ArrayTypeItem 28 ) : ArrayTypeItem, DefaultTypeItem(modifiers) { 29 override fun duplicate(componentType: TypeItem): ArrayTypeItem { in duplicate()
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParserCacheTest.kt | 19 import com.android.tools.metalava.model.ArrayTypeItem in <lambda>() 248 val second = parser.obtainTypeFromString("String[]", emptyScope) as ArrayTypeItem in <lambda>() 249 val third = parser.obtainTypeFromString("String[][]", emptyScope) as ArrayTypeItem in <lambda>() 255 .that((third.componentType as ArrayTypeItem).componentType) in <lambda>() 267 parser.obtainTypeFromString(type, emptyScope) as ArrayTypeItem in <lambda>() 296 if (this is ArrayTypeItem) componentType.deepestComponent() else this in <lambda>()
|
D | TextTypeParserTest.kt | 20 import com.android.tools.metalava.model.ArrayTypeItem 403 assertThat(type).isInstanceOf(ArrayTypeItem::class.java) in testArrayType() 404 assertThat((type as ArrayTypeItem).componentType).isEqualTo(expectedInnerType) in testArrayType()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | SignatureInputOutputTest.kt | 19 import com.android.tools.metalava.model.ArrayTypeItem in <lambda>() 341 assertThat((param.type() as ArrayTypeItem).isVarargs).isTrue() in <lambda>() 434 assertThat((p2.type() as ArrayTypeItem).componentType.isString()).isTrue() in <lambda>() 476 assertThat((p2.type() as ArrayTypeItem).componentType.isString()).isTrue() in <lambda>() 498 assertThat(annotationArrayArray).isInstanceOf(ArrayTypeItem::class.java) in <lambda>() 502 val annotationArray = (annotationArrayArray as ArrayTypeItem).componentType in <lambda>() 503 assertThat(annotationArray).isInstanceOf(ArrayTypeItem::class.java) in <lambda>() 507 val annotation = (annotationArray as ArrayTypeItem).componentType in <lambda>()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeItemFactory.kt | 19 import com.android.tools.metalava.model.ArrayTypeItem in <lambda>() 68 typeItem is ArrayTypeItem && in <lambda>()
|
D | TextTypeParser.kt | 20 import com.android.tools.metalava.model.ArrayTypeItem in <lambda>() 208 ): ArrayTypeItem? { in <lambda>()
|
D | ApiFile.kt | 23 import com.android.tools.metalava.model.ArrayTypeItem in <lambda>() 1681 if (type is ArrayTypeItem && type.isVarargs) { in create() 1781 if (typeItem is ArrayTypeItem && typeItem.isVarargs) { in synchronizeNullability()
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypeItem.kt | 19 import com.android.tools.metalava.model.ArrayTypeItem 71 ) : ArrayTypeItem, PsiTypeItem(psiType, modifiers) { in duplicate() 72 override fun duplicate(componentType: TypeItem): ArrayTypeItem = in duplicate()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | ProguardWriter.kt | 19 import com.android.tools.metalava.model.ArrayTypeItem 133 if (t is ArrayTypeItem) return getCleanTypeName(t.componentType) + "[]" in getCleanTypeName()
|
D | NullabilityAnnotationsValidator.kt | 21 import com.android.tools.metalava.model.ArrayTypeItem in <lambda>() 173 type is ArrayTypeItem -> { in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/ |
D | CompatibilityCheck.kt | 26 import com.android.tools.metalava.model.ArrayTypeItem 406 is ArrayTypeItem -> in compatibleReturnTypes() 407 return old is ArrayTypeItem && in compatibleReturnTypes() 667 is ArrayTypeItem -> describeBounds(type.componentType) + "[]" in describeBounds()
|
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/ |
D | Assertions.kt | 180 fun TypeItem?.assertArrayTypeItem(body: (ArrayTypeItem.() -> Unit)? = null) { in assertArrayTypeItem()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineCodebaseInitialiser.kt | 23 import com.android.tools.metalava.model.ArrayTypeItem in <lambda>() 942 returnType is ArrayTypeItem && in <lambda>()
|