Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiType.kt21 import com.android.tools.metalava.model.Item in <lambda>()
33 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
40 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
51 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
58 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
69 override fun getEmitFilter(): Predicate<Item> { in <lambda>()
73 override fun getReferenceFilter(): Predicate<Item> { in <lambda>()
81 abstract fun getEmitFilter(): Predicate<Item> in <lambda>()
83 abstract fun getReferenceFilter(): Predicate<Item> in <lambda>()
DAnnotationsDiffer.kt20 import com.android.tools.metalava.model.Item in <lambda>()
61 private val relevant = HashSet<Item>(1000) in <lambda>()
63 private val predicate = object : Predicate<Item> { in <lambda>()
64 override fun test(item: Item): Boolean { in <lambda>()
79 override fun compare(old: Item, new: Item) { in <lambda>()
105 Predicate<Item> { true } in <lambda>()
DNullnessMigration.kt21 import com.android.tools.metalava.model.Item
40 override fun compare(old: Item, new: Item) { in compare()
99 fun hasNullnessInformation(item: Item): Boolean { in hasNullnessInformation()
103 fun findNullnessAnnotation(item: Item): AnnotationItem? { in findNullnessAnnotation()
107 fun isNullable(item: Item): Boolean { in isNullable()
111 private fun isNonNull(item: Item): Boolean { in isNonNull()
DFilterPredicate.kt19 import com.android.tools.metalava.model.Item
23 class FilterPredicate(private val wrapped: Predicate<Item>) : Predicate<Item> {
25 override fun test(method: Item): Boolean { in test()
DElidingPredicate.kt19 import com.android.tools.metalava.model.Item in <lambda>()
28 class ElidingPredicate(private val wrapped: Predicate<Item>) : Predicate<Item> { in <lambda>()
30 override fun test(method: Item): Boolean { in <lambda>()
DApiPredicate.kt20 import com.android.tools.metalava.model.Item
68 ) : Predicate<Item> {
70 override fun test(member: Item): Boolean { in test()
135 private fun includeOnlyForStubPurposes(item: Item): Boolean { in includeOnlyForStubPurposes()
DDexApiWriter.kt21 import com.android.tools.metalava.model.Item
29 filterEmit: Predicate<Item>,
30 filterReference: Predicate<Item>
DMarkPackagesAsRecent.kt20 import com.android.tools.metalava.model.Item
38 override fun visitItem(item: Item) { in visitItem()
DProguardWriter.kt22 import com.android.tools.metalava.model.Item
33 filterEmit: Predicate<Item>,
34 filterReference: Predicate<Item>
DSignatureWriter.kt23 import com.android.tools.metalava.model.Item in <lambda>()
37 filterEmit: Predicate<Item>, in <lambda>()
38 filterReference: Predicate<Item>, in <lambda>()
173 private fun writeModifiers(item: Item) { in <lambda>()
315 item: Item, in <lambda>()
DJDiffXmlWriter.kt23 import com.android.tools.metalava.model.Item in <lambda>()
45 filterEmit: Predicate<Item>, in <lambda>()
46 filterReference: Predicate<Item>, in <lambda>()
150 fun deprecation(item: Item): String { in <lambda>()
DBaseline.kt21 import com.android.tools.metalava.model.Item in <lambda>()
71 fun mark(element: Item, message: String, issue: Issues.Issue): Boolean { in <lambda>()
121 private fun getBaselineKey(element: Item): String { in <lambda>()
DNullabilityAnnotationsValidator.kt21 import com.android.tools.metalava.model.Item in <lambda>()
116 private fun checkItem(method: MethodItem, label: String, type: TypeItem?, item: Item) { in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiCompilationUnit.kt21 import com.android.tools.metalava.model.Item
91 override fun getImportStatements(predicate: Predicate<Item>): Collection<Item> { in getImportStatements()
92 val imports = mutableListOf<Item>() in getImportStatements()
147 val map: Multimap<String, Item> = ArrayListMultimap.create() in getImportStatements()
165 val result = mutableListOf<Item>() in getImportStatements()
172 override fun visitItem(item: Item) { in getImportStatements()
212 private fun classes(predicate: Predicate<Item>): List<ClassItem> { in classes()
DPsiAnnotationItem.kt31 import com.android.tools.metalava.model.Item in <lambda>()
128 context: Item? = null in <lambda>()
333 override fun resolve(): Item? { in toString()
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DItemVisitor.kt24 import com.android.tools.metalava.model.Item
49 open fun skip(item: Item): Boolean = false in skip()
52 open fun visitItem(item: Item) {} in skip()
69 open fun afterVisitItem(item: Item) {} in afterVisitItem()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DItem.kt37 interface Item { interface
54 fun parent(): Item? in parent()
193 var curr: Item? = this in compilationUnit()
262 fun describe(item: Item, capitalize: Boolean = false): String { in describe()
376 abstract class DefaultItem(override val sortingRank: Int = nextRank++) : Item {
DCompilationUnit.kt36 open fun getImportStatements(predicate: Predicate<Item>): Collection<Item> = emptyList()
DMemberItem.kt19 interface MemberItem : Item {
DParameterItem.kt22 interface ParameterItem : Item {
/tools/security/fuzzing/orphans/libcppbor/
Dcppbor_parse_fuzzer.cpp22 virtual ParseClient* item(std::unique_ptr<Item>&, const uint8_t*, const uint8_t*, in item() argument
26 virtual ParseClient* itemEnd(std::unique_ptr<Item>&, const uint8_t*, const uint8_t*, in itemEnd() argument
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextMethodItem.kt21 import com.android.tools.metalava.model.Item
111 override fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? = null in findPredicateSuperMethod()
/tools/metalava/
DREADME.md330 The basic API element class is "Item". (In doclava1 this was called a
331 "DocInfo".) There are several sub interfaces of Item: PackageItem, ClassItem,
374 private val filter: (Item) -> Boolean) : ApiVisitor(
404 open fun compare(old: Item, new: Item) {}
405 open fun added(item: Item) {}
406 open fun removed(item: Item) {}
431 overrides the `compare(old: Item, new: Item)` method, and checks whether the old
437 open fun removed(item: Item) {
438 reporter.report(error, item, "Removing ${Item.describe(item)} is not allowed")
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DStubWriter.kt27 import com.android.tools.metalava.model.Item in <lambda>()
247 item: Item, in appendDocumentation()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt26 import com.android.tools.metalava.model.Item in <lambda>()
781 filter: Predicate<Item>? = null, in <lambda>()

12