Home
last modified time | relevance | path

Searched refs:superClass (Results 1 – 16 of 16) 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.kt96 cls.superClass()?.tag = true in <lambda>()
170 val superClass = cls.filteredSuperclass(filter) in <lambda>() constant
171 superClass?.let { addConstructors(it, filter) } in <lambda>()
174 if (superClass != null) { in <lambda>()
175 val superDefaultConstructor = superClass.stubConstructor in <lambda>()
181 (superConstructor.containingClass() != superClass && in <lambda>()
222 it.superConstructor = superClass?.stubConstructor in <lambda>()
266 if (cls.superClass() == null) return in <lambda>()
267 … val superClasses: Sequence<ClassItem> = generateSequence(cls.superClass()) { it.superClass() } in <lambda>()
295 cls.superClass()?.let { interfaceTypeClasses.add(it) } 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()
DApiLint.kt229 val superClass = cls.filteredSuperclass(filterReference) in <lambda>() constant
233 cls, methods, constructors, allMethods, fields, superClass, interfaces, in <lambda>()
277 superClass: ClassItem?, in <lambda>()
289 checkBuilder(cls, methods, constructors, superClass) in <lambda>()
290 checkAidl(cls, superClass, interfaces) in <lambda>()
298 checkCallbackHandlers(cls, methodsAndConstructors, superClass) in <lambda>()
304 checkError(cls, superClass) in <lambda>()
1307 superClass: ClassItem? in <lambda>()
1341 if (superClass != null && !superClass.isJavaLangObject()) { in <lambda>()
1473 private fun checkAidl(cls: ClassItem, superClass: ClassItem?, interfaces: Sequence<TypeItem>) { in <lambda>()
[all …]
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>()
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>()
DKotlinInteropChecks.kt345 if (cls.superClass()?.isInterface() == true) { in <lambda>()
DCompatibilityCheck.kt325 val oldSuperClassName = old.superClass()?.qualifiedName() in compare()
/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/model/psi/
DPsiClassItem.kt82 private var superClass: ClassItem? = null in <lambda>() variable
84 override fun superClass(): ClassItem? = superClass in <lambda>() method
87 override fun setSuperClass(superClass: ClassItem?, superClassType: TypeItem?) { in <lambda>()
88 this.superClass = superClass in <lambda>()
122 curr = curr.superClass in <lambda>()
141 val superClass = itf.superClass in <lambda>() constant
142 if (superClass != null) { in <lambda>()
143 addInterfaces(result, arrayOf(superClass)) in <lambda>()
247 this.superClass = type.asClass() in <lambda>()
252 this.superClass = this.superClassType?.asClass() in <lambda>()
[all …]
DPsiConstructorItem.kt70 if (result.isEmpty() && isConstructor() && containingClass().superClass() != null) { in isImplicitConstructor()
/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()