/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | MethodItem.kt | 22 interface MethodItem : MemberItem, TypeParameterListOwner { in <lambda>() interface 43 fun superMethods(): List<MethodItem> in <lambda>() 51 ): MethodItem? { in <lambda>() 71 fun allSuperMethods(): Sequence<MethodItem> { in <lambda>() 135 override fun duplicate(targetContainingClass: ClassItem): MethodItem in <lambda>() 137 fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? { in <lambda>() 179 o1: MethodItem, in <lambda>() 180 o2: MethodItem, in <lambda>() 219 val comparator: Comparator<MethodItem> = Comparator { o1, o2 -> in <lambda>() 222 val sourceOrderComparator: Comparator<MethodItem> = Comparator { o1, o2 -> in <lambda>() [all …]
|
D | ClassItem.kt | 172 @MetalavaApi fun methods(): List<MethodItem> in <lambda>() 291 template: MethodItem, in <lambda>() 294 ): MethodItem? { in <lambda>() 327 fun findPredicateMethodWithSuper(template: MethodItem, filter: Predicate<Item>?): MethodItem? { in <lambda>() 396 fun findMethod(methodName: String, parameters: String): MethodItem? { in <lambda>() 415 private fun parametersMatch(method: MethodItem, description: String): Boolean { in <lambda>() 488 ): Collection<MethodItem> { in <lambda>() 489 val methods = LinkedHashSet<MethodItem>() in <lambda>() 782 fun inheritMethodFromNonApiAncestor(template: MethodItem): MethodItem = codebase.unsupported() in <lambda>() 784 fun addMethod(method: MethodItem): Unit = codebase.unsupported() in <lambda>()
|
D | ModifierListWriter.kt | 69 private fun mustIgnoreAbstractInStubs(methodItem: MethodItem): Boolean { in <lambda>() 85 fun requiresMethodBodyInStubs(methodItem: MethodItem): Boolean { in <lambda>() 120 val methodItem = item as? MethodItem in <lambda>() 240 is MethodItem, in <lambda>() 373 return item is MethodItem && in <lambda>()
|
D | PropertyItem.kt | 21 val getter: MethodItem? in <lambda>() 25 val setter: MethodItem? in <lambda>()
|
D | ParameterItem.kt | 38 fun containingMethod(): MethodItem in name() 89 override fun parent(): MethodItem? = containingMethod() in name()
|
D | BaseItemVisitor.kt | 99 override fun visit(method: MethodItem) { in visit() 191 open fun visitMethod(method: MethodItem) {} in visitMethod() 213 open fun afterVisitMethod(method: MethodItem) {} in afterVisitMethod()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/ |
D | CommonCopyMethodItemTest.kt | 20 import com.android.tools.metalava.model.MethodItem 37 class CommonCopyMethodItemTest : CommonCopyMemberItemTest<MethodItem>() { 44 sourceMethodItem: MethodItem, in copy() 46 ): MethodItem { in copy() 52 sourceMethodItem: MethodItem, in copy() 54 ): MethodItem { in copy() 59 abstract fun copy(sourceMethodItem: MethodItem, targetClassItem: ClassItem): MethodItem in copy() 82 override fun copyMember(sourceMemberItem: MethodItem, targetClassItem: ClassItem) = in getMember()
|
D | CommonMethodItemTest.kt | 20 import com.android.tools.metalava.model.MethodItem in <lambda>() 93 fun `MethodItem type`() { in <lambda>() 150 fun `MethodItem superMethods() on constructor`() { in <lambda>() 195 fun `MethodItem superMethods() on simple method`() { in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | ComparisonVisitor.kt | 26 import com.android.tools.metalava.model.MethodItem in <lambda>() 63 open fun compare(old: MethodItem, new: MethodItem) {} in <lambda>() 77 open fun added(new: MethodItem) {} in <lambda>() 91 open fun removed(old: MethodItem, from: ClassItem?) {} in <lambda>() 97 open fun removed(old: ParameterItem, from: MethodItem?) {} in <lambda>() 254 if (new is MethodItem && oldParent is ClassItem) { in pop() 301 is MethodItem -> { in pop() 308 visitor.added(item as MethodItem) in pop() 331 if (old is MethodItem && !old.isConstructor() && newParent is ClassItem) { in pop() 395 is MethodItem -> { in pop() [all …]
|
D | ElidingPredicate.kt | 20 import com.android.tools.metalava.model.MethodItem in <lambda>() 39 return if (method is MethodItem && !method.isConstructor()) { in <lambda>() 47 maybeEqualSuperMethod is MethodItem && in <lambda>() 48 MethodItem.sameSignature( in <lambda>()
|
D | KotlinInteropChecks.kt | 23 import com.android.tools.metalava.model.MethodItem in <lambda>() 55 methodComparator = MethodItem.sourceOrderComparator, in <lambda>() 66 override fun visitMethod(method: MethodItem) { in <lambda>() 84 fun checkMethod(method: MethodItem, isKotlin: Boolean = method.isKotlin()) { in <lambda>() 98 private fun ensureExceptionsDocumented(method: MethodItem) { in <lambda>() 212 private fun ensureLambdaLastParameter(method: MethodItem) { in <lambda>() 235 private fun ensureCompanionJvmStatic(method: MethodItem) { in <lambda>() 290 private fun ensureMethodNameNotKeyword(method: MethodItem) { in <lambda>() 294 private fun ensureDefaultParamsHaveJvmOverloads(method: MethodItem) { in <lambda>() 336 private fun ensureParameterNamesNotKeywords(method: MethodItem) { in <lambda>()
|
D | NullabilityAnnotationsValidator.kt | 24 import com.android.tools.metalava.model.MethodItem in <lambda>() 52 val method: MethodItem in <lambda>() 56 override val method: MethodItem, in <lambda>() 70 override val method: MethodItem, in <lambda>() 103 override fun visitMethod(method: MethodItem) { in <lambda>() 137 private fun checkItem(method: MethodItem, label: String, type: TypeItem?, item: Item) { in <lambda>() 162 method: MethodItem, in <lambda>()
|
D | FilterPredicate.kt | 20 import com.android.tools.metalava.model.MethodItem 28 method is MethodItem -> in test()
|
D | NullnessMigration.kt | 23 import com.android.tools.metalava.model.MethodItem 49 override fun compare(old: MethodItem, new: MethodItem) { in compare()
|
D | ApiAnalyzer.kt | 35 import com.android.tools.metalava.model.MethodItem in <lambda>() 375 val interfaceNames = mutableMapOf<String, MutableList<MethodItem>>() in <lambda>() 383 val list = ArrayList<MethodItem>() in <lambda>() 403 val list = ArrayList<MethodItem>() in <lambda>() 440 val list = ArrayList<MethodItem>() in <lambda>() 452 val map = HashMap<String, MutableList<MethodItem>>() in <lambda>() 469 val newList = ArrayList<MethodItem>() in <lambda>() 507 val existingMethodMap = HashMap<String, MutableList<MethodItem>>() in <lambda>() 513 val newList = ArrayList<MethodItem>() in <lambda>() 680 override fun visitMethod(method: MethodItem) { in <lambda>() [all …]
|
D | ApiPredicate.kt | 23 import com.android.tools.metalava.model.MethodItem 103 member is MethodItem && in test() 263 if (this is MethodItem) { in Item()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextMethodItem.kt | 23 import com.android.tools.metalava.model.MethodItem 42 MethodItem { 49 if (other !is MethodItem) return false in equals() 99 override fun superMethods(): List<MethodItem> { in isConstructor() 105 override fun findPredicateSuperMethod(predicate: Predicate<Item>): MethodItem? = null in findMainDocumentation() 110 override fun duplicate(targetContainingClass: ClassItem): MethodItem { in findMainDocumentation()
|
D | TextParameterItem.kt | 20 import com.android.tools.metalava.model.MethodItem 61 override fun containingMethod(): MethodItem = containingMethod in type()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 26 import com.android.tools.metalava.model.MethodItem in <lambda>() 177 private fun writeConstructor(constructor: MethodItem, superConstructor: MethodItem?) { in <lambda>() 193 private fun writeConstructorBody(constructor: MethodItem, superConstructor: MethodItem?) { in <lambda>() 284 override fun visitMethod(method: MethodItem) { in <lambda>() 288 private fun writeMethod(containingClass: ClassItem, method: MethodItem) { in <lambda>() 356 private fun generateParameterList(method: MethodItem) { in <lambda>() 373 private fun generateThrowsList(method: MethodItem) { in <lambda>()
|
D | KotlinStubWriter.kt | 23 import com.android.tools.metalava.model.MethodItem in <lambda>() 162 override fun visitMethod(method: MethodItem) { in <lambda>() 205 private fun generateParameterList(method: MethodItem) { in <lambda>() 220 private fun generateThrowsList(method: MethodItem) { in <lambda>()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineParameterItem.kt | 21 import com.android.tools.metalava.model.MethodItem 33 private val containingMethod: MethodItem, 47 override fun containingMethod(): MethodItem = containingMethod in containingMethod() 78 containingMethod: MethodItem, in hashCode()
|
D | TurbineMethodItem.kt | 22 import com.android.tools.metalava.model.MethodItem 43 MethodItem { 45 private lateinit var superMethodList: List<MethodItem> 75 override fun superMethods(): List<MethodItem> { in name()
|
D | TurbineClassItem.kt | 26 import com.android.tools.metalava.model.MethodItem in <lambda>() 143 override fun methods(): List<MethodItem> = methods in <lambda>() 195 override fun inheritMethodFromNonApiAncestor(template: MethodItem): MethodItem { in <lambda>() 227 override fun addMethod(method: MethodItem) { in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/model/visitors/ |
D | ApiVisitor.kt | 25 import com.android.tools.metalava.model.MethodItem 48 val methodComparator: Comparator<MethodItem> = MethodItem.comparator, 109 methodComparator: Comparator<MethodItem> = MethodItem.comparator,
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AddApisFromCodebase.kt | 24 import com.android.tools.metalava.model.MethodItem in <lambda>() 160 override fun visitMethod(method: MethodItem) { in <lambda>() 184 fun MethodItem.nameInApi(): String { in <lambda>() method 234 fun MethodItem.internalDesc(voidConstructorTypes: Boolean = false): String { in MethodItem() method
|