Home
last modified time | relevance | path

Searched refs:targetClassItem (Results 1 – 5 of 5) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DCommonCopyMethodItemTest.kt45 targetClassItem: ClassItem in copy()
47 return sourceMethodItem.duplicate(targetClassItem) in copy()
53 targetClassItem: ClassItem in copy()
55 return targetClassItem.inheritMethodFromNonApiAncestor(sourceMethodItem) in copy()
59 abstract fun copy(sourceMethodItem: MethodItem, targetClassItem: ClassItem): MethodItem in copy()
82 override fun copyMember(sourceMemberItem: MethodItem, targetClassItem: ClassItem) = in getMember()
83 copyMethod.copy(sourceMemberItem, targetClassItem) in getMember()
260 assertTrue(targetClassItem.modifiers.isFinal()) in test copy non-final method from non-final class to final class does not change final()
309 targetClassItem.assertExplicitlyDeprecated() in test copy non deprecated method from non deprecated class to deprecated class treats method as deprecated()
361 targetClassItem.assertNotDeprecated() in test copy non deprecated method from deprecated class to non deprecated class treats method as deprecated()
[all …]
DSourceMethodItemTest.kt61 val targetClassItem = codebase.assertClass("test.pkg.Target") in test duplicate() for methoditem() constant
65 val duplicateMethod = methodItem.duplicate(targetClassItem) in test duplicate() for methoditem()
66 val duplicateMethod1 = methodItem1.duplicate(targetClassItem) in test duplicate() for methoditem()
126 val targetClassItem = codebase.assertClass("test.pkg.Target") in test inherited methods() constant
130 val inheritedMethod = targetClassItem.inheritMethodFromNonApiAncestor(methodItem) in test inherited methods()
131 val inheritedMethod1 = targetClassItem.inheritMethodFromNonApiAncestor(methodItem1) in test inherited methods()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/memberitem/
DCommonCopyMemberItemTest.kt36 protected abstract fun copyMember(sourceMemberItem: M, targetClassItem: ClassItem): M in supportsInputFormat()
41 val targetClassItem: ClassItem, in supportsInputFormat() constant in com.android.tools.metalava.model.testsuite.memberitem.CommonCopyMemberItemTest.CopyContext
57 val targetClassItem = codebase.assertClass("test.pkg.Target") in supportsInputFormat() constant
60 val targetMemberItem = copyMember(sourceMemberItem, targetClassItem) in supportsInputFormat()
66 targetClassItem, in supportsInputFormat()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/fielditem/
DCommonCopyFieldItemTest.kt33 override fun copyMember(sourceMemberItem: FieldItem, targetClassItem: ClassItem) = in getMember()
34 sourceMemberItem.duplicate(targetClassItem) in getMember()
198 targetClassItem.assertExplicitlyDeprecated() in test copy non deprecated field from non deprecated class to deprecated class treats field as deprecated()
250 targetClassItem.assertNotDeprecated() in test copy non deprecated field from deprecated class to non deprecated class treats field as not deprecated()
301 targetClassItem.assertNotDeprecated() in test copy deprecated field from one class to another keeps field as deprecated()
DSourceFieldItemTest.kt250 val targetClassItem = codebase.assertClass("test.pkg.Target") in test duplicate() for fielditem() constant
253 val duplicateField = fieldItem.duplicate(targetClassItem) in test duplicate() for fielditem()