Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt97 fun superClass(): ClassItem? in <lambda>() method
107 var superClass = superClass() in <lambda>() variable
108 while (superClass != null && !superClass.checkLevel()) { in <lambda>()
109 superClass = superClass.superClass() in <lambda>()
112 return superClass in <lambda>()
121 val superClass = superClass() in <lambda>() constant
122 return superClass?.extends(qualifiedName) ?: when { in <lambda>()
143 if (superClass()?.implements(qualifiedName) == true) { in <lambda>()
228 fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem? = superClass?.toType()) in <lambda>()
328 superClass()?.let { in <lambda>()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt98 cls.superClass()?.tag = true in <lambda>()
172 val superClass = cls.filteredSuperclass(filter) in <lambda>() constant
173 superClass?.let { addConstructors(it, filter) } in <lambda>()
176 if (superClass != null) { in <lambda>()
177 val superDefaultConstructor = superClass.stubConstructor in <lambda>()
183 (superConstructor.containingClass() != superClass && in <lambda>()
224 it.superConstructor = superClass?.stubConstructor in <lambda>()
268 if (cls.superClass() == null) return in <lambda>()
269 … val superClasses: Sequence<ClassItem> = generateSequence(cls.superClass()) { it.superClass() } in <lambda>()
297 cls.superClass()?.let { interfaceTypeClasses.add(it) } in <lambda>()
[all …]
DApiLint.kt256 val superClass = cls.filteredSuperclass(filterReference) in <lambda>() constant
260 cls, methods, constructors, allMethods, fields, superClass, interfaces, in <lambda>()
303 superClass: ClassItem?, in <lambda>()
315 checkBuilder(cls, methods, constructors, superClass) in <lambda>()
316 checkAidl(cls, superClass, interfaces) in <lambda>()
324 checkCallbackHandlers(cls, methodsAndConstructors, superClass) in <lambda>()
330 checkError(cls, superClass) in <lambda>()
1316 superClass: ClassItem? in <lambda>()
1350 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
1455 private fun checkAidl(cls: ClassItem, superClass: ClassItem?, interfaces: Sequence<TypeItem>) { in <lambda>()
[all …]
DSdkFileWriter.kt159 clazz = clazz.superClass() ?: break in generate()
266 var superClass: ClassItem? = clazz.superClass() in writeClass() variable
267 while (superClass != null) { in writeClass()
268 writer.append(' ').append(superClass.qualifiedName()) in writeClass()
269 superClass = superClass.superClass() in writeClass()
291 val parent = clazz.superClass() in checkInheritance()
DSignatureWriter.kt196 val superClass = if (preFiltered) in <lambda>() constant
199 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
201 superClass.toTypeString( in <lambda>()
204 context = superClass.asClass(), in <lambda>()
DJDiffXmlWriter.kt285 val superClass = if (preFiltered) in <lambda>() constant
296 superClass != null -> { in <lambda>()
298 if (!cls.isClass() && superClass.isJavaLangObject()) { in <lambda>()
303 superClass.toTypeString( in <lambda>()
305 context = superClass.asClass() in <lambda>()
DKotlinInteropChecks.kt349 if (cls.superClass()?.isInterface() == true) { in <lambda>()
DCompatibilityCheck.kt292 val oldSuperClassName = old.superClass()?.qualifiedName() in compare()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiClassItem.kt79 private var superClass: ClassItem? = null in <lambda>() variable
81 override fun superClass(): ClassItem? = superClass in <lambda>() method
84 override fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem?) { in <lambda>()
85 this.superClass = superClass in <lambda>()
119 curr = curr.superClass in <lambda>()
138 val superClass = itf.superClass in <lambda>() constant
139 if (superClass != null) { in <lambda>()
140 addInterfaces(result, arrayOf(superClass)) in <lambda>()
244 this.superClass = type.asClass() in <lambda>()
249 this.superClass = this.superClassType?.asClass() in <lambda>()
[all …]
DPsiConstructorItem.kt70 if (result.isEmpty() && isConstructor() && containingClass().superClass() != null) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt47 val superClass = cls.superClass() in addApisFromCodebase() constant
48 if (filteredSuperClass != superClass && filteredSuperClass != null) { in addApisFromCodebase()
50 val superInternalName = superClass?.internalName() in addApisFromCodebase()
63 … for (interfaceType in superClass!!.filteredInterfaceTypes(filterReference)) { in addApisFromCodebase()
80 } else if (superClass != null) { in addApisFromCodebase()
81 newClass.addSuperClass(superClass.internalName(), apiLevel) in addApisFromCodebase()
84 val superClass = cls.superClass() in addApisFromCodebase() constant
85 if (superClass != null && !superClass.isJavaLangObject()) { in addApisFromCodebase()
86 newClass.addInterface(superClass.internalName(), apiLevel) in addApisFromCodebase()
DApiClass.java65 public ApiElement addSuperClass(String superClass, int since) { in addSuperClass() argument
66 return addToArray(mSuperClasses, superClass, since); in addSuperClass()
69 public ApiElement removeSuperClass(String superClass) { in removeSuperClass() argument
70 ApiElement entry = findByName(mSuperClasses, superClass); in removeSuperClass()
168 for (ApiElement superClass : mSuperClasses) { in removeImplicitInterfaces()
169 if (superClass.introducedNotLaterThan(interfaceElement)) { in removeImplicitInterfaces()
170 ApiClass cls = allClasses.get(superClass.getName()); in removeImplicitInterfaces()
194 for (ApiElement superClass : mSuperClasses) { in implementsInterface()
195 if (superClass.introducedNotLaterThan(interfaceElement)) { in implementsInterface()
196 ApiClass cls = allClasses.get(superClass.getName()); in implementsInterface()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt136 val superClass = if (preFiltered) in <lambda>() constant
140 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
141 … val qualifiedName = superClass.toTypeString() // TODO start passing language = Language.KOTLIN in <lambda>()
147 val s = superClass.asClass() in <lambda>()
150 val replaced = superClass.convertTypeString(map) in <lambda>()
DJavaStubWriter.kt179 val superClass = if (preFiltered) in <lambda>() constant
183 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
184 val qualifiedName = superClass.toTypeString() in <lambda>()
190 val s = superClass.asClass() in <lambda>()
193 val replaced = superClass.convertTypeString(map) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt159 private var superClass: ClassItem? = null variable
162 override fun superClass(): ClassItem? = superClass in superClass() method
165 override fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem?) { in superClass()
166 this.superClass = superClass in superClass()
DTextMethodItem.kt90 var curr = containingClass().superClass() in isConstructor()
97 curr = curr.superClass() in isConstructor()
/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/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/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java803 Class<?> superClass = optionClass.getSuperclass(); in buildOptionFieldsForClass() local
804 if (superClass != null) { in buildOptionFieldsForClass()
805 buildOptionFieldsForClass(superClass, optionFields); in buildOptionFieldsForClass()