Home
last modified time | relevance | path

Searched refs:duplicateMethod (Results 1 – 2 of 2) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DSourceMethodItemTest.kt65 val duplicateMethod = methodItem.duplicate(targetClassItem) in test duplicate() for methoditem() constant
70 duplicateMethod.modifiers.getVisibilityLevel() in test duplicate() for methoditem()
72 assertEquals(true, methodItem.modifiers.equivalentTo(duplicateMethod.modifiers)) in test duplicate() for methoditem()
73 assertEquals(true, duplicateMethod.hidden) in test duplicate() for methoditem()
74 assertEquals(false, duplicateMethod.docOnly) in test duplicate() for methoditem()
75 assertEquals("void", duplicateMethod.returnType().toTypeString()) in test duplicate() for methoditem()
78 duplicateMethod.parameters().map { it.type().toTypeString() } in test duplicate() for methoditem()
80 assertEquals(methodItem.typeParameterList, duplicateMethod.typeParameterList) in test duplicate() for methoditem()
81 assertEquals(methodItem.throwsTypes(), duplicateMethod.throwsTypes()) in test duplicate() for methoditem()
82 assertEquals(classItem, duplicateMethod.inheritedFrom) in test duplicate() for methoditem()
[all …]
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineClassItem.kt201 val duplicateMethod = in <lambda>() constant
216 TurbineParameterItem.duplicate(codebase, duplicateMethod, it, replacementMap) in <lambda>()
218 duplicateMethod.parameters = params in <lambda>()
219 duplicateMethod.inheritedFrom = method.containingClass() in <lambda>()
220 duplicateMethod.throwableTypes = method.throwableTypes in <lambda>()
222 duplicateMethod.updateCopiedMethodState() in <lambda>()
224 return duplicateMethod in <lambda>()