Home
last modified time | relevance | path

Searched refs:superClass (Results 1 – 25 of 25) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DClassItem.kt98 @MetalavaApi fun superClass(): ClassItem? in <lambda>() method
102 return generateSequence(superClass()) { it.superClass() } in <lambda>()
119 val superClass = superClass() in <lambda>() constant
120 return superClass?.extends(qualifiedName) in <lambda>()
142 if (superClass()?.implements(qualifiedName) == true) { in <lambda>()
307 superClass()?.findMethod(template, true, includeInterfaces)?.let { in <lambda>()
359 superClass()?.findField(fieldName, true, includeInterfaces)?.let { in <lambda>()
448 val superClass = superClass() ?: return null in <lambda>() constant
449 return if (predicate.test(superClass)) { in <lambda>()
450 superClass in <lambda>()
[all …]
DMethodItem.kt117 .firstOrNull { superClass -> predicate.test(superClass) } in <lambda>() method
118 ?.let { superClass -> throwsTypes.add(superClass.type()) } in <lambda>() method
636 cls.superClass()?.let { superClass -> in MethodItem() method
638 val superMethod = superClass.findMethod(this) in MethodItem()
641 appendSuperMethods(methods, superClass) in MethodItem()
DCodebase.kt162 classItem.superClass() in resolveSuperTypes()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt74 val superClass = cls.superClass() in <lambda>() constant
75 if (filteredSuperClass != superClass && filteredSuperClass != null) { in <lambda>()
77 val superName = superClass?.nameInApi() in <lambda>()
93 superClass!!.filteredInterfaceTypes(filterReference)) { in <lambda>()
110 } else if (superClass != null) { in <lambda>()
111 newClass.addSuperClass(superClass.nameInApi(), apiLevel) in <lambda>()
114 val superClass = cls.superClass() in <lambda>() constant
115 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
116 newClass.addInterface(superClass.nameInApi(), apiLevel) in <lambda>()
DApiClass.kt65 fun addSuperClass(superClass: String, since: Int): ApiElement { in addSuperClass()
66 return addToArray(mSuperClasses, superClass, since) in addSuperClass()
69 fun removeSuperClass(superClass: String): ApiElement? { in removeSuperClass()
70 val entry = findByName(mSuperClasses, superClass) in removeSuperClass()
166 for (superClass in mSuperClasses) { in removeImplicitInterfaces() constant
167 if (superClass.introducedNotLaterThan(interfaceElement)) { in removeImplicitInterfaces()
168 val cls = allClasses[superClass.name] in removeImplicitInterfaces()
194 for (superClass in mSuperClasses) { in implementsInterface() constant
195 if (superClass.introducedNotLaterThan(interfaceElement)) { in implementsInterface()
196 val cls = allClasses[superClass.name] in implementsInterface()
[all …]
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt95 val superClass = in <lambda>() constant
98 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
100 superClass.toTypeString() // TODO start passing language = Language.KOTLIN in <lambda>()
106 val s = superClass.asClass() in <lambda>()
108 val replaced = superClass.convertType(cls, s) in <lambda>()
DJavaStubWriter.kt131 val superClass = in <lambda>() constant
134 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
136 writer.print(superClass.toTypeString()) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt225 val superClass = cls.filteredSuperclass(filter) in <lambda>() constant
226 superClass?.let { addConstructors(it, filter, visited) } in <lambda>()
228 val superDefaultConstructor = superClass?.stubConstructor in <lambda>()
304 if (cls.superClass() == null) return in <lambda>()
333 cls.superClass()?.let { interfaceTypeClasses.add(it) } in <lambda>()
394 for (superClass in publicSuperClasses) { in <lambda>() method
395 for (method in superClass.methods()) { in <lambda>()
412 for (superClass in hiddenSuperClasses) { in <lambda>() constant
419 .takeWhile { currentClass -> currentClass != superClass } in <lambda>()
427 for (method in superClass.methods()) { in <lambda>()
[all …]
DJDiffXmlWriter.kt242 val superClass = in <lambda>() constant
248 superClass != null -> { in <lambda>()
250 if (!cls.isClass() && superClass.isJavaLangObject()) { in <lambda>()
253 XmlUtils.toXmlAttributeValue(formatType(superClass.toTypeString())) in <lambda>()
DSdkFileWriter.kt270 for (superClass in clazz.allSuperClasses()) { in writeClass() method
271 writer.append(' ').append(superClass.qualifiedName()) in writeClass()
291 val parent = clazz.superClass() in checkInheritance()
DApiPredicate.kt131 member.superClass()?.let { in test()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceTestCase.java324 Class<?> superClass = theClass; in getTestMethodNames() local
326 while (Test.class.isAssignableFrom(superClass)) { in getTestMethodNames()
327 Method[] methods = superClass.getDeclaredMethods(); in getTestMethodNames()
348 superClass = superClass.getSuperclass(); in getTestMethodNames()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt99 override fun superClass(): ClassItem? = superClassType?.asClass() in <lambda>() method
129 curr = curr.superClass in <lambda>()
148 val superClass = itf.superClass in <lambda>() constant
149 if (superClass != null) { in <lambda>()
150 addInterfaces(result, arrayOf(superClass)) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/lint/
DApiLint.kt367 val superClass = cls.filteredSuperclass(filterReference) in <lambda>() constant
371 checkClass(cls, methods, constructors, allMethods, fields, superClass, interfaces) in <lambda>()
418 superClass: ClassItem?, in <lambda>()
429 checkBuilder(cls, methods, constructors, superClass, interfaces) in <lambda>()
430 checkAidl(cls, superClass, interfaces) in <lambda>()
438 checkCallbackHandlers(cls, methodsAndConstructors, superClass) in <lambda>()
444 checkError(cls, superClass) in <lambda>()
1234 superClass: ClassItem?, in <lambda>()
1240 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
1397 private fun checkAidl(cls: ClassItem, superClass: ClassItem?, interfaces: Sequence<TypeItem>) { in <lambda>()
[all …]
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DApiFileTest.kt103 val throwableSuperClass = throwable.superClass() in <lambda>()
168 assertNull(throwable.superClass()) in <lambda>()
202 assertSame(throwable, unknownExceptionClass.superClass()) in <lambda>()
DMultipleFileTest.kt75 fooClass.superClass(), in Test parse multiple files correctly updates super class()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/
DCommonClassItemTest.kt322 assertNull(fooInterface.superClass()) in Test interface no extends list()
377 assertNull(fooInterface.superClass()) in Test interface extends list()
417 val fooSuperClass = fooClass.superClass() in Test class no super class or implements lists()
467 assertSame(barClass, fooClass.superClass()) in Test class super class no implements lists()
522 val fooSuperClass = fooClass.superClass() in Test class no super class but implements lists()
587 assertSame(barClass, fooClass.superClass()) in Test class super class and implements lists()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt198 assertEquals(superClassItem, classItem.superClass()) in 090 - check class hierarchy()
334 val classItemSuperClass = classItem.superClass() in 130 - check classes from classpath()
346 val utilClassSuperClass = utilClassItem.superClass() in 130 - check classes from classpath()
376 assertEquals(null, classItem.superClass()) in 130 - test missing symbols()
DCommonModelTest.kt329 classItem.superClass() in Test iterate and resolve unknown super classes()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineClassItem.kt92 superClass()?.let { supClass -> in <lambda>()
165 override fun superClass(): ClassItem? = superClassType?.asClass() in <lambda>() method
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeModifiersTest.kt653 val superClass = foo.superClassType() in <lambda>() constant
654 assertThat(superClass).isNotNull() in <lambda>()
655 superClass.assertClassTypeItem { in <lambda>()
786 val superClass = fooClass.superClassType() in <lambda>() constant
787 superClass.assertNotNullTypeItem { in <lambda>()
/tools/loganalysis/src/com/android/loganalysis/util/config/
DOptionSetter.java588 Class<?> superClass = optionClass.getSuperclass(); in buildOptionFieldsForClass() local
589 if (superClass != null) { in buildOptionFieldsForClass()
590 buildOptionFieldsForClass(superClass, optionFields); in buildOptionFieldsForClass()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt103 override fun superClass(): ClassItem? = superClassType?.asClass() in containingPackage() method
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java824 Class<?> superClass = optionClass.getSuperclass(); in buildOptionFieldsForClass() local
825 if (superClass != null) { in buildOptionFieldsForClass()
826 buildOptionFieldsForClass(superClass, optionFields); in buildOptionFieldsForClass()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt350 val oldSuperClassName = old.superClass()?.qualifiedName() in compare()