/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/ |
D | DefaultArrayTypeItem.kt | 26 override val componentType: TypeItem, constant 29 override fun duplicate(componentType: TypeItem): ArrayTypeItem { in duplicate() 30 return DefaultArrayTypeItem(modifiers.duplicate(), componentType, isVarargs) in duplicate()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonTypeModifiersTest.kt | 380 componentType.assertClassTypeItem { in <lambda>() 417 componentType.assertReferencesTypeParameter(methodTypeParam) { in <lambda>() 457 componentType.assertArrayTypeItem { in <lambda>() 461 componentType.assertArrayTypeItem { in <lambda>() 465 componentType.assertClassTypeItem { in <lambda>() 506 componentType.assertArrayTypeItem { in <lambda>() 510 componentType.assertArrayTypeItem { in <lambda>() 514 componentType.assertClassTypeItem { in <lambda>() 745 componentType.assertClassTypeItem { in <lambda>() 806 componentType.assertReferencesTypeParameter(typeParam) { testModifiers(modifiers) } in <lambda>() [all …]
|
D | CommonTypeItemTest.kt | 149 val int = (intArray as ArrayTypeItem).componentType in Test primitive array types() 157 val char = (charArray as ArrayTypeItem).componentType in Test primitive array types() 205 val int = (intArray as ArrayTypeItem).componentType in Test primitive vararg types() 250 val intArray = intArrayArray.componentType in Test multidimensional primitive array types() 254 val int = intArray.componentType in Test multidimensional primitive array types() 263 val charArray = charArrayArray.componentType in Test multidimensional primitive array types() 267 val char = charArray.componentType in Test multidimensional primitive array types() 321 assertThat((simpleArray as ArrayTypeItem).componentType.isString()).isTrue() in Test class array types() 328 val innerArray = twoDimensionalArray.componentType in Test class array types() 330 assertThat((innerArray as ArrayTypeItem).componentType.isString()).isTrue() in Test class array types() [all …]
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParserCacheTest.kt | 252 .that(second.componentType) in <lambda>() 255 .that((third.componentType as ArrayTypeItem).componentType) in <lambda>() 258 .that(third.componentType) in <lambda>() 278 .that(noAnno.componentType) in <lambda>() 285 .that(noAnno.componentType) in <lambda>() 296 if (this is ArrayTypeItem) componentType.deepestComponent() else this in <lambda>()
|
D | TextTypeParserTest.kt | 404 assertThat((type as ArrayTypeItem).componentType).isEqualTo(expectedInnerType) in testArrayType()
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | TypeItem.kt | 458 var deepComponentType = type.componentType in hashCode() 462 deepComponentType = deepComponentType.componentType in hashCode() 484 appendTypeString(type.componentType, configuration) in hashCode() 630 appendErasedTypeString(type.componentType) in hashCode() 839 val componentType: TypeItem in hashCodeForType() constant 852 override fun duplicate(): ArrayTypeItem = duplicate(componentType.duplicate()) in hashCodeForType() 858 fun duplicate(componentType: TypeItem): ArrayTypeItem in hashCodeForType() 861 return duplicate(componentType.convertType(typeParameterBindings)) in hashCodeForType() 866 return isVarargs == other.isVarargs && componentType.equalToType(other.componentType) in hashCodeForType() 869 override fun hashCodeForType(): Int = Objects.hash(isVarargs, componentType) in hashCodeForType() [all …]
|
D | TypeVisitor.kt | 41 arrayType.componentType.accept(this) in visit() 96 arrayType.componentType.accept( in visitType() 98 other.mapNotNull { (it as? ArrayTypeItem)?.componentType } in visitType()
|
D | ModifierListWriter.kt | 382 type.componentType.let { componentType -> in <lambda>() method 383 componentType is ClassTypeItem && in <lambda>() 384 componentType.qualifiedName == "java.lang.Object" in <lambda>()
|
D | MethodItem.kt | 437 is ArrayTypeItem -> componentType.hasHiddenType(filterReference) in <lambda>()
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiTypeItem.kt | 68 override val componentType: PsiTypeItem, in duplicate() constant 72 override fun duplicate(componentType: TypeItem): ArrayTypeItem = in duplicate() 75 componentType = componentType as PsiTypeItem, in duplicate()
|
D | PsiBasedCodebase.kt | 750 var componentType = psiType.componentType in <lambda>() variable 752 while (componentType is PsiArrayType) { in <lambda>() 753 componentType = componentType.componentType in <lambda>() 755 if (componentType is PsiClassType) { in <lambda>() 756 val cls = componentType.resolve() ?: return null in <lambda>()
|
D | PsiParameterItem.kt | 335 psiType.componentType.annotate(annotationProvider) in create() 337 psiType.componentType in create()
|
D | PsiTypeItemFactory.kt | 286 componentType = in <lambda>() 288 psiType.componentType, in <lambda>()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeItemFactory.kt | 70 forcedComponentNullability != typeItem.componentType.modifiers.nullability() in <lambda>() 73 typeItem.duplicate(typeItem.componentType.duplicate(forcedComponentNullability)) in <lambda>()
|
D | TextTypeParser.kt | 278 val componentType = in <lambda>() constant 284 return DefaultArrayTypeItem(arrayModifiers, componentType, varargs) in <lambda>()
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | SignatureInputOutputTest.kt | 434 assertThat((p2.type() as ArrayTypeItem).componentType.isString()).isTrue() in <lambda>() 476 assertThat((p2.type() as ArrayTypeItem).componentType.isString()).isTrue() in <lambda>() 502 val annotationArray = (annotationArrayArray as ArrayTypeItem).componentType in <lambda>() 507 val annotation = (annotationArray as ArrayTypeItem).componentType in <lambda>()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineTypeItemFactory.kt | 215 val componentType = getType(curr, contextNullability.forComponentType()) in <lambda>() constant 222 return annosList.foldIndexed(componentType) { index, typeItem, annos -> in <lambda>()
|
D | TurbineCodebaseInitialiser.kt | 943 matchType(returnType.componentType, classItem) && in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | ProguardWriter.kt | 133 if (t is ArrayTypeItem) return getCleanTypeName(t.componentType) + "[]" in getCleanTypeName()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/ |
D | CompatibilityCheck.kt | 408 compatibleReturnTypes(old.componentType, new.componentType) in compatibleReturnTypes() 667 is ArrayTypeItem -> describeBounds(type.componentType) + "[]" in describeBounds()
|
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/junit4/ |
D | CustomizableParameterizedRunner.kt | 161 it.javaClass.componentType == Object::class.java in getAdditionalArguments()
|