Home
last modified time | relevance | path

Searched refs:filterReference (Results 1 – 17 of 17) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt253 fun generateInheritedStubs(filterEmit: Predicate<Item>, filterReference: Predicate<Item>) { in <lambda>()
261 generateInheritedStubs(it, filterEmit, filterReference) in <lambda>()
266 …private fun generateInheritedStubs(cls: ClassItem, filterEmit: Predicate<Item>, filterReference: P… in <lambda>()
271 superClasses.filter { !filterReference.test(it) && !it.isJavaLangObject() } in <lambda>()
277 addInheritedStubsFrom(cls, hiddenSuperClasses, superClasses, filterEmit, filterReference) in <lambda>()
278 addInheritedInterfacesFrom(cls, hiddenSuperClasses, filterReference) in <lambda>()
284 filterReference: Predicate<Item> in <lambda>()
291 if (filterReference.test(hiddenInterfaceClass ?: continue)) { in <lambda>()
327 filterReference: Predicate<Item> in <lambda>()
333 val interfaces: Set<TypeItem> = cls.allInterfaceTypes(filterReference).asSequence().toSet() in <lambda>()
[all …]
DSignatureWriter.kt38 filterReference: Predicate<Item>, in <lambda>()
47 filterReference = filterReference, in <lambda>()
198 else cls.filteredSuperClassType(filterReference) in <lambda>()
205 filter = filterReference in <lambda>()
223 else cls.filteredInterfaceTypes(filterReference).asSequence() in <lambda>()
238 val superInterface = cls.filteredSuperclass(filterReference) in <lambda>()
257 filter = filterReference in <lambda>()
317 filter = filterReference in <lambda>()
348 … compatibility.filterThrowsClasses -> method.filteredThrowsTypes(filterReference).asSequence() in <lambda>()
DApiLint.kt206 }, oldCodebase, codebase, filterReference) in <lambda>()
253 val methods = cls.filteredMethods(filterReference).asSequence() in <lambda>()
254 val fields = cls.filteredFields(filterReference, showUnannotated).asSequence() in <lambda>()
255 val constructors = cls.filteredConstructors(filterReference) in <lambda>()
256 val superClass = cls.filteredSuperclass(filterReference) in <lambda>()
257 val interfaces = cls.filteredInterfaceTypes(filterReference).asSequence() in <lambda>()
261 filterReference in <lambda>()
266 checkMethod(method, filterReference) in <lambda>()
305 filterReference: Predicate<Item> in <lambda>()
329 checkRuntimeExceptions(methodsAndConstructors, filterReference) in <lambda>()
[all …]
DJDiffXmlWriter.kt46 filterReference: Predicate<Item>, in <lambda>()
56 filterReference = filterReference, in <lambda>()
287 else cls.filteredSuperClassType(filterReference) in <lambda>()
321 else cls.filteredInterfaceTypes(filterReference).asSequence() in <lambda>()
362 … compatibility.filterThrowsClasses -> method.filteredThrowsTypes(filterReference).asSequence() in <lambda>()
DExtractAnnotations.kt88 filterReference = filterReference, in <lambda>()
95 filterReference = filterReference, in <lambda>()
DDocAnalyzer.kt342 if (filterReference.test(field)) { in <lambda>()
423 if (filterReference.test(field)) { in <lambda>()
458 if (filterReference.test(field)) { in <lambda>()
517 if (filterReference.test(field)) { in <lambda>()
DDexApiWriter.kt30 filterReference: Predicate<Item>
36 filterReference = filterReference
DCompatibilityCheck.kt48 val filterReference: Predicate<Item>, constant in com.android.tools.metalava.CompatibilityCheck
216 for (iface in new.filteredInterfaceTypes(filterReference)) { in compare()
519 for (exec in new.filteredThrowsTypes(filterReference)) { in compare()
DMarkPackagesAsRecent.kt32 filterReference = ApiPredicate(ignoreShown = true),
DComparisonVisitor.kt417 filterReference = predicate in createTree()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt39 private val filterReference: Predicate<Item>, in <lambda>() constant in com.android.tools.metalava.stub.JavaStubWriter
58 compilationUnit?.getImportStatements(filterReference)?.let { in <lambda>()
106 for (field in cls.filteredFields(filterReference, true).sortedBy { it.sortingRank }) { in <lambda>()
181 else cls.filteredSuperClassType(filterReference) in <lambda>()
211 else cls.filteredInterfaceTypes(filterReference).asSequence() in <lambda>()
278 it.containingClass().constructors().filter { filterReference.test(it) }.size > 1 in <lambda>()
366 filter = filterReference in <lambda>()
406 filter = filterReference in <lambda>()
443 filter = filterReference in <lambda>()
458 method.filteredThrowsTypes(filterReference).asSequence() in <lambda>()
DKotlinStubWriter.kt37 private val filterReference: Predicate<Item>, in <lambda>() constant in com.android.tools.metalava.stub.KotlinStubWriter
52 compilationUnit?.getImportStatements(filterReference)?.let { in <lambda>()
138 else cls.filteredSuperClassType(filterReference) in <lambda>()
172 else cls.filteredInterfaceTypes(filterReference).asSequence() in <lambda>()
202 filter = filterReference in <lambda>()
288 method.filteredThrowsTypes(filterReference).asSequence() in <lambda>()
DStubWriter.kt57 filterReference = ApiPredicate(ignoreShown = true, includeDocOnly = docStubs), in <lambda>()
193 …KotlinStubWriter(textWriter, filterEmit, filterReference, generateAnnotations, preFiltered, docStu… in <lambda>()
195 …JavaStubWriter(textWriter, filterEmit, filterReference, generateAnnotations, preFiltered, docStubs) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt475 fun hasHiddenType(filterReference: Predicate<Item>): Boolean { in <lambda>()
480 if (!filterReference.test(argument)) { in <lambda>()
486 if (!filterReference.test(clz)) { in <lambda>()
494 if (returnTypeClass != null && !filterReference.test(returnTypeClass)) { in <lambda>()
499 if (!filterReference.test(argument)) { in <lambda>()
508 if (!filterReference.test(argument)) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt46 val filteredSuperClass = cls.filteredSuperclass(filterReference) in addApisFromCodebase()
63 … for (interfaceType in superClass!!.filteredInterfaceTypes(filterReference)) { in addApisFromCodebase()
118 for (interfaceType in cls.filteredInterfaceTypes(filterReference)) { in addApisFromCodebase()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt66 private val filterReference: Predicate<Item>? = null constant in com.android.tools.metalava.model.psi.CodePrinter
202 if (filterReference != null) { in appendExpression()
205 if (fld == null || !filterReference.test(fld)) { in appendExpression()
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DApiVisitor.kt58 val filterReference: Predicate<Item>, constant
157 vc.nonEmpty() -> filterReference.test(vc.cls) in shouldEmitClassBody()