Home
last modified time | relevance | path

Searched refs:interfaceTypes (Results 1 – 21 of 21) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DClassItem.kt134 interfaceTypes().forEach { in <lambda>()
154 @MetalavaApi fun interfaceTypes(): List<ClassTypeItem> in <lambda>() method
224 fun setInterfaceTypes(interfaceTypes: List<ClassTypeItem>) in <lambda>()
313 for (itf in interfaceTypes()) { in <lambda>()
365 for (itf in interfaceTypes()) { in <lambda>()
576 val interfaceTypes = in <lambda>() constant
584 if (interfaceTypes.isEmpty()) { in <lambda>()
585 return interfaceTypes in <lambda>()
588 return interfaceTypes in <lambda>()
592 val interfaceTypes = in <lambda>() constant
[all …]
DCodebase.kt163 for (interfaceType in classItem.interfaceTypes()) { in resolveSuperTypes()
DMethodItem.kt509 s.interfaceTypes().mapNotNull { interfaceType -> interfaceType.asClass() } in <lambda>()
666 for (itf in cls.interfaceTypes()) { in MethodItem()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt63 override fun interfaceTypes(): List<ClassTypeItem> = interfaceTypes in interfaceTypes() method
69 interfaceTypes.asSequence().map { it.asClass() }.filterNotNull(), in interfaceTypes()
111 override fun setInterfaceTypes(interfaceTypes: List<ClassTypeItem>) { in setInterfaceTypes()
112 this.interfaceTypes = interfaceTypes in setInterfaceTypes()
125 private var interfaceTypes = emptyList<ClassTypeItem>() variable
DApiFile.kt520 val interfaceTypes = mutableSetOf<ClassTypeItem>() in parseClass() constant
529 interfaceTypes.add(interfaceType) in parseClass()
544 interfaceTypes.add(globalTypeItemFactory.superAnnotationType) in parseClass()
545 } else if (globalTypeItemFactory.superAnnotationType in interfaceTypes) { in parseClass()
601 cl.setInterfaceTypes(interfaceTypes.toList()) in parseClass()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt64 private var interfaceTypes: List<ClassTypeItem>, in <lambda>() variable
112 override fun interfaceTypes(): List<ClassTypeItem> = interfaceTypes in <lambda>() method
114 override fun setInterfaceTypes(interfaceTypes: List<ClassTypeItem>) { in <lambda>()
115 this.interfaceTypes = interfaceTypes in <lambda>()
317 val (superClassType, interfaceTypes) = in <lambda>() constant
330 interfaceTypes = interfaceTypes, in <lambda>()
597 val interfaceTypes = in <lambda>() constant
602 return Pair(superClassType, interfaceTypes) in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineClassItem.kt141 override fun interfaceTypes(): List<ClassTypeItem> = interfaceTypesList in <lambda>() method
157 override fun setInterfaceTypes(interfaceTypes: List<ClassTypeItem>) { in <lambda>()
158 interfaceTypesList = interfaceTypes in <lambda>()
DTurbineCodebaseInitialiser.kt366 cls.interfaceTypes().map { classTypeItemFactory.getInterfaceType(it) } in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt322 var interfaceTypes: MutableList<ClassTypeItem>? = null in <lambda>() variable
325 for (hiddenInterface in hiddenSuperClass.interfaceTypes()) { in <lambda>()
328 if (interfaceTypes == null) { in <lambda>()
329 interfaceTypes = cls.interfaceTypes().toMutableList() in <lambda>()
331 interfaceTypes.mapNotNull { it.asClass() }.toMutableList() in <lambda>()
335 cls.setInterfaceTypes(interfaceTypes) in <lambda>()
347 interfaceTypes.add(mappedType) in <lambda>()
352 interfaceTypes.add(hiddenInterface) in <lambda>()
1089 for (t in cl.interfaceTypes()) { in <lambda>()
DSignatureWriter.kt263 val unfilteredInterfaceTypes = cls.interfaceTypes() in <lambda>()
DJDiffXmlWriter.kt265 if (preFiltered) cls.interfaceTypes().asSequence() in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/
DCommonClassItemTest.kt285 codebase.assertClass("test.pkg.Outer.Middle.Inner").interfaceTypes().single() in Test access type parameter of outer class in interface type()
324 val interfaceList = fooInterface.interfaceTypes().map { it.asClass() } in Test interface no extends list()
379 val interfaceList = fooInterface.interfaceTypes().map { it.asClass() } in Test interface extends list()
424 val interfaceList = fooClass.interfaceTypes().map { it.asClass() } in Test class no super class or implements lists()
469 val interfaceList = fooClass.interfaceTypes().map { it.asClass() } in Test class super class no implements lists()
529 val interfaceList = fooClass.interfaceTypes().map { it.asClass() } in Test class no super class but implements lists()
589 val interfaceList = fooClass.interfaceTypes().map { it.asClass() } in Test class super class and implements lists()
715 val superClassType = fooClass.interfaceTypes().single() in Test class super interface generic type()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeModifiersTest.kt612 val interfaces = foo.interfaceTypes() in <lambda>()
685 val interfaces = foo.interfaceTypes() in <lambda>()
792 val interfaces = fooClass.interfaceTypes() in <lambda>()
2207 val superInterfaceType = codebase.assertClass("test.pkg.Foo").interfaceTypes().single() in <lambda>()
2253 val superInterfaceType = fooClass.interfaceTypes().single() in <lambda>()
DCommonTypeItemTest.kt1112 val myListInterfaces = myList.interfaceTypes() in Test superclass and interface types using type variables()
1503 val interfaceType = codebase.assertClass("test.pkg.Foo").interfaceTypes().single() in Test hasTypeArguments()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DCommonModelTest.kt372 for (interfaceType in classItem.interfaceTypes()) { in Test iterate and resolve unknown interface classes()
DBootstrapSourceModelProviderTest.kt378 assertEquals(2, classItem.interfaceTypes().count()) in 130 - test missing symbols()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt129 if (preFiltered) cls.interfaceTypes().asSequence() in <lambda>()
DJavaStubWriter.kt147 if (preFiltered) cls.interfaceTypes() else cls.filteredInterfaceTypes(filterReference) in <lambda>()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DApiFileTest.kt448 codebase.assertResolvedClass("test.pkg.Foo").interfaceTypes().single().asClass() in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt532 val interfaceType = fooClass.interfaceTypes().single() in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt240 for (iface in old.interfaceTypes()) { in compare()