/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiLint.kt | 148 import com.android.tools.metalava.model.MethodItem in <lambda>() 175 methodComparator = MethodItem.sourceOrderComparator, in <lambda>() 246 item is MethodItem && !isInteresting(item.containingClass()) || in <lambda>() 265 override fun visitMethod(method: MethodItem) { in <lambda>() 299 methods: Sequence<MethodItem>, in <lambda>() 301 methodsAndConstructors: Sequence<MethodItem>, in <lambda>() 359 method: MethodItem, in <lambda>() 389 private fun checkMethodNames(method: MethodItem) { in <lambda>() 595 private fun checkCallbackOrListenerMethod(method: MethodItem) { in <lambda>() 622 private fun checkListeners(cls: ClassItem, methods: Sequence<MethodItem>) { in <lambda>() [all …]
|
D | ComparisonVisitor.kt | 25 import com.android.tools.metalava.model.MethodItem in <lambda>() 62 open fun compare(old: MethodItem, new: MethodItem) {} in <lambda>() 70 open fun added(new: MethodItem) {} in <lambda>() 78 open fun removed(old: MethodItem, from: ClassItem?) {} in <lambda>() 81 open fun removed(old: ParameterItem, from: MethodItem?) {} in <lambda>() 190 if (new is MethodItem && oldParent is ClassItem) { in visitAdded() 231 is MethodItem -> { in doVisitAdded() 238 visitor.added(item as MethodItem) in doVisitAdded() 255 is MethodItem -> { in visitRemoved() 262 visitor.removed(item as MethodItem, from as ClassItem?) in visitRemoved() [all …]
|
D | KotlinInteropChecks.kt | 24 import com.android.tools.metalava.model.MethodItem in <lambda>() 45 methodComparator = MethodItem.sourceOrderComparator, in <lambda>() 56 override fun visitMethod(method: MethodItem) { in <lambda>() 73 fun checkMethod(method: MethodItem, isKotlin: Boolean = method.isKotlin()) { in <lambda>() 87 private fun ensureExceptionsDocumented(method: MethodItem) { in <lambda>() 187 private fun ensureLambdaLastParameter(method: MethodItem) { in <lambda>() 210 private fun ensureCompanionJvmStatic(method: MethodItem) { in <lambda>() 260 private fun ensureMethodNameNotKeyword(method: MethodItem) { in <lambda>() 264 private fun ensureDefaultParamsHaveJvmOverloads(method: MethodItem) { in <lambda>() 303 private fun ensureParameterNamesNotKeywords(method: MethodItem) { in <lambda>()
|
D | ApiAnalyzer.kt | 27 import com.android.tools.metalava.model.MethodItem in <lambda>() 339 val interfaceNames = mutableMapOf<String, MutableList<MethodItem>>() in <lambda>() 345 val list = ArrayList<MethodItem>() in <lambda>() 362 val list = ArrayList<MethodItem>() in <lambda>() 401 val list = ArrayList<MethodItem>() in <lambda>() 413 val map = HashMap<String, MutableList<MethodItem>>() in <lambda>() 428 val newList = ArrayList<MethodItem>() in <lambda>() 465 val existingMethodMap = HashMap<String, MutableList<MethodItem>>() in <lambda>() 469 val newList = ArrayList<MethodItem>() in <lambda>() 606 override fun visitMethod(method: MethodItem) { in <lambda>() [all …]
|
D | NullabilityAnnotationsValidator.kt | 23 import com.android.tools.metalava.model.MethodItem in <lambda>() 47 val method: MethodItem in <lambda>() 51 override val method: MethodItem, in <lambda>() 65 override val method: MethodItem, in <lambda>() 90 override fun visitMethod(method: MethodItem) { in <lambda>() 117 private fun checkItem(method: MethodItem, label: String, type: TypeItem?, item: Item) { in <lambda>() 146 method: MethodItem, in <lambda>()
|
D | CompatibilityCheck.kt | 31 import com.android.tools.metalava.model.MethodItem 140 } else if (!oldNullable && old is MethodItem) { in compare() 320 override fun compare(old: MethodItem, new: MethodItem) { in compare() 721 is MethodItem -> base.findClass(item.containingClass().qualifiedName())?.findMethod( in findBaseItem() 744 override fun added(new: MethodItem) { in added() 824 override fun removed(old: MethodItem, from: ClassItem?) { in removed()
|
D | SignatureWriter.kt | 24 import com.android.tools.metalava.model.MethodItem in <lambda>() 44 methodComparator = MethodItem.comparator, in <lambda>() 103 override fun visitMethod(method: MethodItem) { in <lambda>() 274 private fun writeParameterList(method: MethodItem) { in <lambda>() 345 private fun writeThrowsList(method: MethodItem) { in <lambda>()
|
D | JDiffXmlWriter.kt | 24 import com.android.tools.metalava.model.MethodItem in <lambda>() 53 methodComparator = MethodItem.comparator, in <lambda>() 242 override fun visitMethod(method: MethodItem) { in <lambda>() 340 private fun writeParameterList(method: MethodItem) { in <lambda>() 359 private fun writeThrowsList(method: MethodItem) { in <lambda>()
|
D | AndroidApiChecks.kt | 26 import com.android.tools.metalava.model.MethodItem 37 methodComparator = MethodItem.sourceOrderComparator, in check() 53 override fun visitMethod(method: MethodItem) { in check() 175 private fun checkRequiresPermission(method: MethodItem) { in checkRequiresPermission()
|
D | DocAnalyzer.kt | 18 import com.android.tools.metalava.model.MethodItem in <lambda>() 263 is MethodItem -> { in <lambda>() 552 is MethodItem -> in <lambda>() 728 override fun visitMethod(method: MethodItem) { in <lambda>()
|
D | NullnessMigration.kt | 22 import com.android.tools.metalava.model.MethodItem 50 override fun compare(old: MethodItem, new: MethodItem) { in compare()
|
D | ConvertJarsToSignatureFiles.kt | 23 import com.android.tools.metalava.model.MethodItem in <lambda>() 103 override fun compare(old: MethodItem, new: MethodItem) { in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | ClassItem.kt | 169 fun methods(): List<MethodItem> in <lambda>() 395 template: MethodItem, in <lambda>() 398 ): MethodItem? { in <lambda>() 426 ): MethodItem? { in <lambda>() 481 fun findMethod(methodName: String, parameters: String): MethodItem? { in <lambda>() 496 private fun parametersMatch(method: MethodItem, description: String): Boolean { in <lambda>() 565 fun filteredMethods(predicate: Predicate<Item>): Collection<MethodItem> { in <lambda>() 566 val methods = LinkedHashSet<MethodItem>() in <lambda>() 755 fun createMethod(template: MethodItem): MethodItem = codebase.unsupported() in <lambda>() 757 fun addMethod(method: MethodItem): Unit = codebase.unsupported() in <lambda>() [all …]
|
D | MethodItem.kt | 26 interface MethodItem : MemberItem { in <lambda>() interface 40 fun superMethods(): List<MethodItem> in <lambda>() 70 fun allSuperMethods(): Sequence<MethodItem> { in <lambda>() 154 fun duplicate(targetContainingClass: ClassItem): MethodItem in <lambda>() 156 fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? { in <lambda>() 231 private fun compareMethods(o1: MethodItem, o2: MethodItem): Int { in <lambda>() 262 val comparator: Comparator<MethodItem> = Comparator { o1, o2 -> compareMethods(o1, o2) } in <lambda>() 263 val sourceOrderComparator: Comparator<MethodItem> = Comparator { o1, o2 -> in <lambda>() 275 …fun sameSignature(method: MethodItem, superMethod: MethodItem, compareRawTypes: Boolean = false): … in <lambda>() 416 fun hasSameValue(other: MethodItem): Boolean { in <lambda>() [all …]
|
D | Item.kt | 267 is MethodItem -> describe( in describe() 284 item: MethodItem, in describe() 323 item: MethodItem, in appendMethodSignature()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 26 import com.android.tools.metalava.model.MethodItem in <lambda>() 158 val separateLines = item is ClassItem || item is MethodItem in <lambda>() 250 constructor: MethodItem, in <lambda>() 251 superConstructor: MethodItem? in <lambda>() 271 private fun writeConstructorBody(constructor: MethodItem?, superConstructor: MethodItem?) { in <lambda>() 335 override fun visitMethod(method: MethodItem) { in <lambda>() 339 …private fun writeMethod(containingClass: ClassItem, method: MethodItem, movedFromInterface: Boolea… in <lambda>() 432 private fun generateParameterList(method: MethodItem) { in <lambda>() 453 private fun generateThrowsList(method: MethodItem) { in <lambda>()
|
D | KotlinStubWriter.kt | 24 import com.android.tools.metalava.model.MethodItem in <lambda>() 113 val separateLines = item is ClassItem || item is MethodItem in <lambda>() 209 override fun visitMethod(method: MethodItem) { in <lambda>() 262 private fun generateParameterList(method: MethodItem) { in <lambda>() 283 private fun generateThrowsList(method: MethodItem) { in <lambda>()
|
D | StubWriter.kt | 28 import com.android.tools.metalava.model.MethodItem in <lambda>() 55 methodComparator = MethodItem.sourceOrderComparator, in <lambda>() 224 override fun visitMethod(method: MethodItem) { in <lambda>() 228 override fun afterVisitMethod(method: MethodItem) { in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextMethodItem.kt | 22 import com.android.tools.metalava.model.MethodItem 40 ), MethodItem, TypeParameterListOwner { 48 if (other !is MethodItem) return false in equals() 83 override fun superMethods(): List<MethodItem> { in isConstructor() 88 val list = mutableListOf<MethodItem>() in isConstructor() 111 override fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? = null in findPredicateSuperMethod() 135 override fun duplicate(targetContainingClass: ClassItem): MethodItem { in duplicate()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiMethodItem.kt | 22 import com.android.tools.metalava.model.MethodItem in <lambda>() 63 ), MethodItem { in <lambda>() 112 private var superMethods: List<MethodItem>? = null in <lambda>() 113 override fun superMethods(): List<MethodItem> { in <lambda>() 115 val result = mutableListOf<MethodItem>() in <lambda>()
|
D | PsiConstructorItem.kt | 21 import com.android.tools.metalava.model.MethodItem in <lambda>() 64 private var _superMethods: List<MethodItem>? = null in <lambda>() 65 override fun superMethods(): List<MethodItem> { in <lambda>() 67 val result = mutableListOf<MethodItem>() in <lambda>()
|
D | PsiClassItem.kt | 25 import com.android.tools.metalava.model.MethodItem in <lambda>() 335 override fun createMethod(template: MethodItem): MethodItem { in <lambda>() 367 override fun addMethod(method: MethodItem) { in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ElidingPredicate.kt | 4 import com.android.tools.metalava.model.MethodItem in <lambda>() 19 return if (method is MethodItem && !method.isConstructor()) { in <lambda>() 23 test is MethodItem && in <lambda>() 24 MethodItem.sameSignature(method, test, false) in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/visitors/ |
D | ItemVisitor.kt | 25 import com.android.tools.metalava.model.MethodItem 65 open fun visitMethod(method: MethodItem) {} in visitMethod() 81 open fun afterVisitMethod(method: MethodItem) {} in afterVisitMethod()
|
D | ApiVisitor.kt | 24 import com.android.tools.metalava.model.MethodItem 49 val methodComparator: Comparator<MethodItem>? = null, 98 methodComparator: Comparator<MethodItem>? = null,
|