Home
last modified time | relevance | path

Searched refs:FieldItem (Results 1 – 25 of 34) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt23 import com.android.tools.metalava.model.FieldItem in <lambda>()
63 open fun compare(old: FieldItem, new: FieldItem) {} in <lambda>()
71 open fun added(new: FieldItem) {} in <lambda>()
79 open fun removed(old: FieldItem, from: ClassItem?) {} in <lambda>()
228 is FieldItem -> visitor.added(item) in doVisitAdded()
252 is FieldItem -> visitor.removed(item, from as ClassItem?) in visitRemoved()
276 is FieldItem -> visitor.compare(old, new as FieldItem) in visitCompare()
290 is FieldItem -> 3 in compare()
354 is FieldItem -> { in compare()
355 item1.name().compareTo((item2 as FieldItem).name()) in compare()
DKotlinInteropChecks.kt22 import com.android.tools.metalava.model.FieldItem
43 fieldComparator = FieldItem.comparator in check()
55 override fun visitField(field: FieldItem) { in check()
61 fun checkField(field: FieldItem, isKotlin: Boolean = field.isKotlin()) { in checkField()
123 private fun ensureCompanionFieldJvmField(field: FieldItem) { in ensureCompanionFieldJvmField()
222 private fun ensureFieldNameNotKeyword(field: FieldItem) { in ensureFieldNameNotKeyword()
DApiLint.kt132 import com.android.tools.metalava.model.FieldItem in <lambda>()
162 fieldComparator = FieldItem.comparator, in <lambda>()
261 override fun visitField(field: FieldItem) { in <lambda>()
283 fields: Sequence<FieldItem>, in <lambda>()
324 field: FieldItem in <lambda>()
459 private fun checkConstantNames(field: FieldItem) { in <lambda>()
632 private fun checkActions(field: FieldItem) { in <lambda>()
699 private fun checkIntentExtras(field: FieldItem) { in <lambda>()
815 fields: Sequence<FieldItem> in <lambda>()
1075 …un checkHelperClasses(cls: ClassItem, methods: Sequence<MethodItem>, fields: Sequence<FieldItem>) { in <lambda>()
[all …]
DDocAnalyzer.kt15 import com.android.tools.metalava.model.FieldItem in <lambda>()
169 private fun findPermissionField(codebase: Codebase, value: Any): FieldItem? { in <lambda>()
255 is FieldItem -> { in <lambda>()
311 val field = if (resolved is FieldItem) in <lambda>()
417 if (field is FieldItem) in <lambda>()
444 val field = resolved as? FieldItem in <lambda>()
700 override fun visitField(field: FieldItem) { in <lambda>()
DAndroidApiChecks.kt24 import com.android.tools.metalava.model.FieldItem
38 fieldComparator = FieldItem.comparator in check()
60 override fun visitField(field: FieldItem) { in check()
213 private fun checkIntentAction(field: FieldItem) { in checkIntentAction()
DCompatibilityCheck.kt28 import com.android.tools.metalava.model.FieldItem
546 override fun compare(old: FieldItem, new: FieldItem) { in compare()
710 … is FieldItem -> base.findClass(item.containingClass().qualifiedName())?.findField(item.name()) in findBaseItem()
779 override fun added(new: FieldItem) { in added()
819 override fun removed(old: FieldItem, from: ClassItem?) { in removed()
DNullnessMigration.kt20 import com.android.tools.metalava.model.FieldItem
59 override fun compare(old: FieldItem, new: FieldItem) { in compare()
DConvertJarsToSignatureFiles.kt21 import com.android.tools.metalava.model.FieldItem in <lambda>()
108 override fun compare(old: FieldItem, new: FieldItem) { in <lambda>()
DDexApiWriter.kt20 import com.android.tools.metalava.model.FieldItem
80 override fun visitField(field: FieldItem) { in visitField()
DSignatureWriter.kt22 import com.android.tools.metalava.model.FieldItem in <lambda>()
45 fieldComparator = FieldItem.comparator, in <lambda>()
81 override fun visitField(field: FieldItem) { in <lambda>()
DJDiffXmlWriter.kt22 import com.android.tools.metalava.model.FieldItem in <lambda>()
54 fieldComparator = FieldItem.comparator, in <lambda>()
189 override fun visitField(field: FieldItem) { in <lambda>()
DProguardWriter.kt21 import com.android.tools.metalava.model.FieldItem
101 override fun visitField(field: FieldItem) { in visitField()
DSdkFileWriter.kt21 import com.android.tools.metalava.model.FieldItem
82 … annotation.findAttribute(null)?.leafValues()?.firstOrNull()?.resolve() as? FieldItem in generate()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt167 fun fields(): List<FieldItem> in <lambda>()
459 ): FieldItem? { in <lambda>()
584 fun filteredFields(predicate: Predicate<Item>, showUnannotated: Boolean): List<FieldItem> { in <lambda>()
585 val fields = LinkedHashSet<FieldItem>() in <lambda>()
631 list.sortWith(FieldItem.comparator) in <lambda>()
773 private val fields: Sequence<FieldItem>
774 private val enums: Sequence<FieldItem>
798 .sortedWith(FieldItem.comparator)
802 .sortedWith(FieldItem.comparator)
804 fields = fieldSequence.sortedWith(FieldItem.comparator)
DFieldItem.kt24 interface FieldItem : MemberItem { in <lambda>() interface
57 fun duplicate(targetContainingClass: ClassItem): FieldItem in <lambda>()
85 fun hasSameValue(other: FieldItem): Boolean { in <lambda>()
147 …val comparator: java.util.Comparator<FieldItem> = Comparator { a, b -> a.name().compareTo(b.name()… in <lambda>()
DItem.kt225 is FieldItem -> describe(item, capitalize = capitalize) in psi()
317 private fun describe(item: FieldItem, capitalize: Boolean = false): String { in psi()
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/
DApiVisitor.kt21 import com.android.tools.metalava.model.FieldItem
50 val fieldComparator: Comparator<FieldItem>? = null,
99 fieldComparator: Comparator<FieldItem>? = null
DItemVisitor.kt23 import com.android.tools.metalava.model.FieldItem
64 open fun visitField(field: FieldItem) {} in visitField()
80 open fun afterVisitField(field: FieldItem) {} in afterVisitField()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextFieldItem.kt22 import com.android.tools.metalava.model.FieldItem
33 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), FieldItem {
41 if (other !is FieldItem) return false in equals()
DTextPropertyItem.kt21 import com.android.tools.metalava.model.FieldItem
40 if (other !is FieldItem) return false in equals()
DTextClassItem.kt25 import com.android.tools.metalava.model.FieldItem
193 private val fields = mutableListOf<FieldItem>()
198 override fun fields(): List<FieldItem> = fields in constructors()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiFieldItem.kt20 import com.android.tools.metalava.model.FieldItem
44 ), FieldItem {
106 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals()
DPsiClassItem.kt24 import com.android.tools.metalava.model.FieldItem in <lambda>()
148 private lateinit var fields: List<FieldItem> in <lambda>()
162 override fun fields(): List<FieldItem> = fields in <lambda>()
271 fields: List<FieldItem> in <lambda>()
467 val fields: MutableList<FieldItem> = mutableListOf() in <lambda>()
DPsiPropertyItem.kt20 import com.android.tools.metalava.model.FieldItem
64 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt21 import com.android.tools.metalava.model.FieldItem
135 override fun visitField(field: FieldItem) { in addApisFromCodebase()

12