Home
last modified time | relevance | path

Searched refs:allClasses (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiClass.kt159 fun removeImplicitInterfaces(allClasses: Map<String, ApiClass>) { in removeImplicitInterfaces()
168 val cls = allClasses[superClass.name] in removeImplicitInterfaces()
169 if (cls != null && cls.implementsInterface(interfaceElement, allClasses)) { in removeImplicitInterfaces()
180 allClasses: Map<String, ApiClass> in implementsInterface()
188 val cls = allClasses[localInterface.name] in implementsInterface()
189 if (cls != null && cls.implementsInterface(interfaceElement, allClasses)) { in implementsInterface()
196 val cls = allClasses[superClass.name] in implementsInterface()
197 if (cls != null && cls.implementsInterface(interfaceElement, allClasses)) { in implementsInterface()
211 fun removeOverridingMethods(allClasses: Map<String, ApiClass>) { in removeOverridingMethods()
215 if (!method.name.startsWith("<init>(") && isOverrideOfInherited(method, allClasses)) { in removeOverridingMethods()
[all …]
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DCodebase.kt120 private val allClasses: MutableList<ClassItem> = ArrayList(CLASS_ESTIMATE) constant in com.android.tools.metalava.model.DefaultCodebase
129 allClasses.add(classItem) in addClass()
143 var end = allClasses.size in iterateAllClasses()
147 val classItem = allClasses[i] in iterateAllClasses()
153 end = allClasses.size in iterateAllClasses()
DPackageList.kt30 fun allClasses(): Sequence<ClassItem> { in allClasses() method
31 return packages.asSequence().flatMap { it.allClasses() } in allClasses()
DPackageItem.kt34 fun allClasses(): Sequence<ClassItem> { in <lambda>() method
35 return topLevelClasses().asSequence().flatMap { it.allClasses() } in <lambda>()
DClassItem.kt50 fun allClasses(): Sequence<ClassItem> { in <lambda>() method
51 return sequenceOf(this).plus(innerClasses().asSequence().flatMap { it.allClasses() }) in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DCommonModelTest.kt327 for (classItem in codebase.getPackages().allClasses()) { in Test iterate and resolve unknown super classes()
371 for (classItem in codebase.getPackages().allClasses()) { in Test iterate and resolve unknown interface classes()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt160 .allClasses() in <lambda>()
290 val allClasses = packages.allClasses().toList() in <lambda>() constant
291 allClasses.forEach { in <lambda>()
559 codebase.getPackages().allClasses().forEach { cls -> in <lambda>()
DSdkFileWriter.kt66 val classes = codebase.getPackages().allClasses() in generate()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt75 for (cl in pInfo.allClasses()) { in <lambda>()
DApiFile.kt1835 codebase.getPackages().allClasses().count(),
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DApiFileTest.kt302 for (classItem in packageItem.allClasses()) { in <lambda>()