Home
last modified time | relevance | path

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

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt419 fun hasHiddenType(filterReference: Predicate<Item>): Boolean { in <lambda>()
421 if (parameter.type().hasHiddenType(filterReference)) return true in <lambda>()
424 if (returnType().hasHiddenType(filterReference)) return true in <lambda>()
427 if (typeParameter.typeBounds().any { it.hasHiddenType(filterReference) }) return true in <lambda>()
434 private fun TypeItem.hasHiddenType(filterReference: Predicate<Item>): Boolean { in <lambda>()
437 is ArrayTypeItem -> componentType.hasHiddenType(filterReference) in <lambda>()
439 asClass()?.let { !filterReference.test(it) } == true || in <lambda>()
440 outerClassType?.hasHiddenType(filterReference) == true || in <lambda>()
441 arguments.any { it.hasHiddenType(filterReference) } in <lambda>()
442 is VariableTypeItem -> !filterReference.test(asTypeParameter) in <lambda>()
[all …]
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt38 private val filterReference: Predicate<Item>, in <lambda>() constant in com.android.tools.metalava.stub.JavaStubWriter
54 cls.getSourceFile()?.getImports(filterReference)?.let { in <lambda>()
92 for (field in cls.filteredFields(filterReference, true).sortedBy { it.sortingRank }) { in <lambda>()
132 if (preFiltered) cls.superClassType() else cls.filteredSuperClassType(filterReference) in <lambda>()
147 if (preFiltered) cls.interfaceTypes() else cls.filteredInterfaceTypes(filterReference) in <lambda>()
199 it.containingClass().constructors().filter { filterReference.test(it) }.size > 1 in <lambda>()
296 writer.print(returnType.toTypeString(annotations = false, filter = filterReference)) in <lambda>()
330 writer.print(field.type().toTypeString(annotations = false, filter = filterReference)) in <lambda>()
364 parameter.type().toTypeString(annotations = false, filter = filterReference) in <lambda>()
379 method.filteredThrowsTypes(filterReference).asSequence() in <lambda>()
DKotlinStubWriter.kt34 private val filterReference: Predicate<Item>, in <lambda>() constant in com.android.tools.metalava.stub.KotlinStubWriter
46 cls.getSourceFile()?.getImports(filterReference)?.let { in <lambda>()
96 if (preFiltered) cls.superClassType() else cls.filteredSuperClassType(filterReference) in <lambda>()
130 else cls.filteredInterfaceTypes(filterReference).asSequence() in <lambda>()
155 filter = filterReference in <lambda>()
226 method.filteredThrowsTypes(filterReference).asSequence() in <lambda>()
DStubWriter.kt59 filterReference = apiPredicate(docStubs, config),
217 filterReference, in visitClass()
226 filterReference, in visitClass()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt39 filterReference: Predicate<Item>, in <lambda>()
52 filterReference = filterReference, in <lambda>()
230 if (preFiltered) cls.superClassType() else cls.filteredSuperClassType(filterReference) in <lambda>()
251 filter = filterReference in <lambda>()
266 else cls.filteredInterfaceTypes(filterReference) in <lambda>()
379 filter = filterReference in <lambda>()
392 else -> method.filteredThrowsTypes(filterReference).asSequence() in <lambda>()
DDexApiWriter.kt30 filterReference: Predicate<Item>,
38 filterReference = filterReference,
DJDiffXmlWriter.kt49 filterReference: Predicate<Item>, in <lambda>()
60 filterReference = filterReference, in <lambda>()
243 if (preFiltered) cls.superClassType() else cls.filteredSuperClassType(filterReference) in <lambda>()
266 else cls.filteredInterfaceTypes(filterReference).asSequence() in <lambda>()
301 else -> method.filteredThrowsTypes(filterReference).asSequence() in <lambda>()
DProguardWriter.kt35 filterReference: Predicate<Item>
42 filterReference = filterReference,
DApiAnalyzer.kt285 fun generateInheritedStubs(filterEmit: Predicate<Item>, filterReference: Predicate<Item>) { in <lambda>()
293 generateInheritedStubs(it, filterEmit, filterReference) in <lambda>()
301 filterReference: Predicate<Item> in <lambda>()
307 allSuperClasses.filter { !filterReference.test(it) && !it.isJavaLangObject() } in <lambda>()
313 addInheritedStubsFrom(cls, hiddenSuperClasses, allSuperClasses, filterEmit, filterReference) in <lambda>()
314 addInheritedInterfacesFrom(cls, hiddenSuperClasses, filterReference) in <lambda>()
320 filterReference: Predicate<Item> in <lambda>()
327 if (filterReference.test(hiddenInterfaceClass ?: continue)) { in <lambda>()
363 filterReference: Predicate<Item> in <lambda>()
368 val interfaces: Set<TypeItem> = cls.allInterfaceTypes(filterReference).toSet() in <lambda>()
[all …]
DMarkPackagesAsRecent.kt32 filterReference = apiPredicate(),
DExtractAnnotations.kt89 filterReference = filterReference, in <lambda>()
98 filterReference = filterReference, in <lambda>()
DJarToJDiffCommand.kt87 filterReference = apiReference, in <lambda>()
DComparisonVisitor.kt633 filterReference = predicate, in pop()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DApiVisitor.kt54 val filterReference: Predicate<Item>, constant
122 filterReference: Predicate<Item>? = null,
144 filterReference = filterReference
227 vc.nonEmpty() -> filterReference.test(vc.cls) in shouldEmitClassBody()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt48 filterReference = providedFilterReference, in <lambda>()
73 val filteredSuperClass = cls.filteredSuperclass(filterReference) in <lambda>()
93 superClass!!.filteredInterfaceTypes(filterReference)) { in <lambda>()
154 for (interfaceType in cls.filteredInterfaceTypes(filterReference)) { in <lambda>()
DApiGenerator.kt118 filterReference: Predicate<Item> in <lambda>()
127 filterReference in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureWriterTest.kt39 filterReference = { true }, in runTest()
DSignatureInputOutputTest.kt59 filterReference = { true }, in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DCodePrinter.kt73 private val filterReference: Predicate<Item>? = null constant in com.android.tools.metalava.model.psi.CodePrinter
283 if (filterReference != null) { in appendExpression()
286 if (fld == null || !filterReference.test(fld)) { in appendExpression()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/signature/
DMergeSignaturesCommand.kt90 filterReference = { true }, in run()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt54 val filterReference: Predicate<Item>, constant in com.android.tools.metalava.compatibility.CompatibilityCheck
251 for (iface in new.filteredInterfaceTypes(filterReference)) { in compare()
623 for (throwType in new.filteredThrowsTypes(filterReference)) { in compare()
792 if (!filterReference.test(item)) { in handleAdded()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/
DDocAnalyzer.kt357 if (filterReference.test(field)) { in <lambda>()
436 if (filterReference.test(field)) { in <lambda>()
475 if (filterReference.test(field)) { in <lambda>()
559 if (filterReference.test(field)) { in <lambda>()