Home
last modified time | relevance | path

Searched refs:MethodItem (Results 1 – 25 of 63) sorted by relevance

123

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DMethodItem.kt22 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 …]
DClassItem.kt172 @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>()
DModifierListWriter.kt69 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>()
DPropertyItem.kt21 val getter: MethodItem? in <lambda>()
25 val setter: MethodItem? in <lambda>()
DParameterItem.kt38 fun containingMethod(): MethodItem in name()
89 override fun parent(): MethodItem? = containingMethod() in name()
DBaseItemVisitor.kt99 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/
DCommonCopyMethodItemTest.kt20 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()
DCommonMethodItemTest.kt20 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/
DComparisonVisitor.kt26 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 …]
DElidingPredicate.kt20 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>()
DKotlinInteropChecks.kt23 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>()
DNullabilityAnnotationsValidator.kt24 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>()
DFilterPredicate.kt20 import com.android.tools.metalava.model.MethodItem
28 method is MethodItem -> in test()
DNullnessMigration.kt23 import com.android.tools.metalava.model.MethodItem
49 override fun compare(old: MethodItem, new: MethodItem) { in compare()
DApiAnalyzer.kt35 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 …]
DApiPredicate.kt23 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/
DTextMethodItem.kt23 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()
DTextParameterItem.kt20 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/
DJavaStubWriter.kt26 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>()
DKotlinStubWriter.kt23 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/
DTurbineParameterItem.kt21 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()
DTurbineMethodItem.kt22 import com.android.tools.metalava.model.MethodItem
43 MethodItem {
45 private lateinit var superMethodList: List<MethodItem>
75 override fun superMethods(): List<MethodItem> { in name()
DTurbineClassItem.kt26 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/
DApiVisitor.kt25 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/
DAddApisFromCodebase.kt24 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

123