/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ComparisonVisitor.kt | 23 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()
|
D | KotlinInteropChecks.kt | 22 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()
|
D | ApiLint.kt | 132 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 …]
|
D | DocAnalyzer.kt | 15 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>()
|
D | AndroidApiChecks.kt | 24 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()
|
D | CompatibilityCheck.kt | 28 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()
|
D | NullnessMigration.kt | 20 import com.android.tools.metalava.model.FieldItem 59 override fun compare(old: FieldItem, new: FieldItem) { in compare()
|
D | ConvertJarsToSignatureFiles.kt | 21 import com.android.tools.metalava.model.FieldItem in <lambda>() 108 override fun compare(old: FieldItem, new: FieldItem) { in <lambda>()
|
D | DexApiWriter.kt | 20 import com.android.tools.metalava.model.FieldItem 80 override fun visitField(field: FieldItem) { in visitField()
|
D | SignatureWriter.kt | 22 import com.android.tools.metalava.model.FieldItem in <lambda>() 45 fieldComparator = FieldItem.comparator, in <lambda>() 81 override fun visitField(field: FieldItem) { in <lambda>()
|
D | JDiffXmlWriter.kt | 22 import com.android.tools.metalava.model.FieldItem in <lambda>() 54 fieldComparator = FieldItem.comparator, in <lambda>() 189 override fun visitField(field: FieldItem) { in <lambda>()
|
D | ProguardWriter.kt | 21 import com.android.tools.metalava.model.FieldItem 101 override fun visitField(field: FieldItem) { in visitField()
|
D | SdkFileWriter.kt | 21 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/ |
D | ClassItem.kt | 167 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)
|
D | FieldItem.kt | 24 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>()
|
D | Item.kt | 225 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/ |
D | ApiVisitor.kt | 21 import com.android.tools.metalava.model.FieldItem 50 val fieldComparator: Comparator<FieldItem>? = null, 99 fieldComparator: Comparator<FieldItem>? = null
|
D | ItemVisitor.kt | 23 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/ |
D | TextFieldItem.kt | 22 import com.android.tools.metalava.model.FieldItem 33 ) : TextMemberItem(codebase, name, containingClass, position, modifiers), FieldItem { 41 if (other !is FieldItem) return false in equals()
|
D | TextPropertyItem.kt | 21 import com.android.tools.metalava.model.FieldItem 40 if (other !is FieldItem) return false in equals()
|
D | TextClassItem.kt | 25 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/ |
D | PsiFieldItem.kt | 20 import com.android.tools.metalava.model.FieldItem 44 ), FieldItem { 106 … return other is FieldItem && name == other.name() && containingClass == other.containingClass() in equals()
|
D | PsiClassItem.kt | 24 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>()
|
D | PsiPropertyItem.kt | 20 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/ |
D | AddApisFromCodebase.kt | 21 import com.android.tools.metalava.model.FieldItem 135 override fun visitField(field: FieldItem) { in addApisFromCodebase()
|