Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt148 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 …]
DComparisonVisitor.kt25 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 …]
DKotlinInteropChecks.kt24 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>()
DApiAnalyzer.kt27 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 …]
DNullabilityAnnotationsValidator.kt23 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>()
DCompatibilityCheck.kt31 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()
DSignatureWriter.kt24 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>()
DJDiffXmlWriter.kt24 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>()
DAndroidApiChecks.kt26 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()
DDocAnalyzer.kt18 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>()
DNullnessMigration.kt22 import com.android.tools.metalava.model.MethodItem
50 override fun compare(old: MethodItem, new: MethodItem) { in compare()
DConvertJarsToSignatureFiles.kt23 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/
DClassItem.kt169 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 …]
DMethodItem.kt26 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 …]
DItem.kt267 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/
DJavaStubWriter.kt26 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>()
DKotlinStubWriter.kt24 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>()
DStubWriter.kt28 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/
DTextMethodItem.kt22 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/
DPsiMethodItem.kt22 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>()
DPsiConstructorItem.kt21 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>()
DPsiClassItem.kt25 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/
DElidingPredicate.kt4 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/
DItemVisitor.kt25 import com.android.tools.metalava.model.MethodItem
65 open fun visitMethod(method: MethodItem) {} in visitMethod()
81 open fun afterVisitMethod(method: MethodItem) {} in afterVisitMethod()
DApiVisitor.kt24 import com.android.tools.metalava.model.MethodItem
49 val methodComparator: Comparator<MethodItem>? = null,
98 methodComparator: Comparator<MethodItem>? = null,

12