Home
last modified time | relevance | path

Searched refs:allInterfaces (Results 1 – 7 of 7) sorted by relevance

/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineClassItem.kt64 private var allInterfaces: List<ClassItem>? = null in <lambda>() variable
82 override fun allInterfaces(): Sequence<ClassItem> { in <lambda>() method
83 if (allInterfaces == null) { in <lambda>()
93 supClass.allInterfaces().forEach { interfaces.add(it) } in <lambda>()
99 itf?.allInterfaces()?.forEach { interfaces.add(it) } in <lambda>()
102 allInterfaces = interfaces.toList() in <lambda>()
105 return allInterfaces!!.asSequence() in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/
DCommonClassItemTest.kt327 val allInterfaces = fooInterface.allInterfaces().toList() in Test interface no extends list() constant
328 assertEquals(listOf(fooInterface), allInterfaces) in Test interface no extends list()
382 val allInterfaces = fooInterface.allInterfaces().toList() in Test interface extends list() constant
383 assertEquals(listOf(fooInterface, interfaceA, interfaceB, interfaceC), allInterfaces) in Test interface extends list()
427 val allInterfaces = fooClass.allInterfaces().toList() in Test class no super class or implements lists() constant
428 assertEquals(emptyList(), allInterfaces) in Test class no super class or implements lists()
472 val allInterfaces = fooClass.allInterfaces().toList() in Test class super class no implements lists() constant
473 assertEquals(emptyList(), allInterfaces) in Test class super class no implements lists()
532 val allInterfaces = fooClass.allInterfaces().toList() in Test class no super class but implements lists() constant
533 assertEquals(listOf(interfaceA, interfaceB, interfaceC), allInterfaces) in Test class no super class but implements lists()
[all …]
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt118 private var allInterfaces: List<ClassItem>? = null in <lambda>() variable
120 override fun allInterfaces(): Sequence<ClassItem> { in <lambda>() method
121 if (allInterfaces == null) { in <lambda>()
137 allInterfaces = result in <lambda>()
140 return allInterfaces!!.asSequence() in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt201 classItem.allInterfaces().toSet() in 090 - check class hierarchy()
205 childInterfaceItem.allInterfaces().toSet() in 090 - check class hierarchy()
357 assertEquals(3, utilClassItem.allInterfaces().count()) in 130 - check classes from classpath()
377 assertEquals(1, classItem.allInterfaces().count()) in 130 - test missing symbols()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt65 override fun allInterfaces(): Sequence<ClassItem> { in interfaceTypes() method
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DClassItem.kt160 fun allInterfaces(): Sequence<ClassItem> in <lambda>() method
518 for (clazz in allInterfaces()) { in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt1163 val superItems = cl.allInterfaces().toMutableSet() in <lambda>()