Home
last modified time | relevance | path

Searched refs:duplicate (Results 1 – 25 of 51) sorted by relevance

123

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt165 fun duplicate(): TypeItem in <lambda>() method
171 fun duplicate(withNullability: TypeNullability) = in <lambda>() method
172 duplicate().apply { modifiers.setNullability(withNullability) } in <lambda>()
716 override fun duplicate(): TypeArgumentTypeItem in convertType() method
729 override fun duplicate(): ReferenceTypeItem in convertType() method
821 override fun duplicate(): PrimitiveTypeItem in duplicate() method
824 return duplicate() in duplicate()
852 override fun duplicate(): ArrayTypeItem = duplicate(componentType.duplicate()) in hashCodeForType() method
858 fun duplicate(componentType: TypeItem): ArrayTypeItem in hashCodeForType() method
861 return duplicate(componentType.convertType(typeParameterBindings)) in hashCodeForType()
[all …]
DParameterItem.kt30 duplicate: Boolean, in name()
33 .findCorrespondingItemIn(codebase, superMethods = superMethods, duplicate = duplicate) in name()
DPropertyItem.kt45 duplicate: Boolean, in <lambda>()
60 override fun duplicate(targetContainingClass: ClassItem): PropertyItem = in <lambda>() method
DMethodItem.kt50 duplicate: Boolean, in <lambda>()
61 duplicate && in <lambda>()
64 correspondingMethodItem.duplicate(correspondingClassItem) in <lambda>()
135 override fun duplicate(targetContainingClass: ClassItem): MethodItem in <lambda>() method
DClassItem.kt211 duplicate: Boolean, in <lambda>()
530 val duplicated = field.duplicate(this) in <lambda>()
552 val duplicated = field.duplicate(this) in <lambda>()
757 it.duplicate(it.outerClassType, arguments = emptyList()) in <lambda>()
DFieldItem.kt33 duplicate: Boolean, in <lambda>()
53 override fun duplicate(targetContainingClass: ClassItem): FieldItem in <lambda>() method
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt61 override fun duplicate(): PsiPrimitiveTypeItem = in duplicate() method
62 PsiPrimitiveTypeItem(psiType = psiType, kind = kind, modifiers = modifiers.duplicate()) in duplicate()
72 override fun duplicate(componentType: TypeItem): ArrayTypeItem = in duplicate() method
77 modifiers = modifiers.duplicate() in duplicate()
97 override fun duplicate( in asClass() method
108 modifiers = modifiers.duplicate() in asClass()
136 override fun duplicate( in asClass() method
147 modifiers = modifiers.duplicate(), in asClass()
165 override fun duplicate(): PsiVariableTypeItem = in duplicate() method
168 modifiers = modifiers.duplicate(), in duplicate()
[all …]
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineMethodItem.kt100 override fun duplicate(targetContainingClass: ClassItem): TurbineMethodItem { in duplicate() method
101 val retType = returnType.duplicate() in duplicate()
102 val mods = modifiers.duplicate() in duplicate()
117 parameters.map { TurbineParameterItem.duplicate(codebase, duplicated, it, emptyMap()) } in duplicate()
DTurbineFieldItem.kt56 override fun duplicate(targetContainingClass: ClassItem): FieldItem { in hashCode() method
63 type.duplicate(), in hashCode()
64 modifiers.duplicate(), in hashCode()
DTurbineParameterItem.kt76 internal fun duplicate( in hashCode() method
83 val mods = (parameter.modifiers as DefaultModifierList).duplicate() in hashCode()
/tools/platform-compat/build/
Dprocess_compat_config.py72 duplicate = self.changes_by_id[id]
75 id, duplicate, this_change))
78 duplicate = self.changes_by_name[name]
81 name, duplicate, this_change))
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DCommonModelTest.kt234 fun `test findCorrespondingItemIn does duplicate super methods`() { in test findCorrespondingItemIn does duplicate super methods()
251 duplicate = true, in test findCorrespondingItemIn does duplicate super methods()
261 duplicate = true, in test findCorrespondingItemIn does duplicate super methods()
277 duplicate = true, in test findCorrespondingItemIn does duplicate super methods()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItemFactory.kt73 typeItem.duplicate(typeItem.componentType.duplicate(forcedComponentNullability)) in <lambda>()
81 typeItem.duplicate(actualTypeNullability) in <lambda>()
DTextMethodItem.kt110 override fun duplicate(targetContainingClass: ClassItem): MethodItem { in findMainDocumentation() method
117 modifiers.duplicate(), in findMainDocumentation()
119 parameters.map { it.duplicate(typeVariableMap) }, in findMainDocumentation()
DTextParameterItem.kt72 internal fun duplicate(typeVariableMap: TypeParameterBindings): TextParameterItem { in hashCode() method
81 modifiers.duplicate(), in hashCode()
DTextFieldItem.kt52 override fun duplicate(targetContainingClass: ClassItem): TextFieldItem { in hashCode() method
58 modifiers.duplicate(), in hashCode()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/methoditem/
DSourceMethodItemTest.kt40 fun `test duplicate() for methoditem`() { in test duplicate() for methoditem()
65 val duplicateMethod = methodItem.duplicate(targetClassItem) in test duplicate() for methoditem()
66 val duplicateMethod1 = methodItem1.duplicate(targetClassItem) in test duplicate() for methoditem()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DDefaultPrimitiveTypeItem.kt28 override fun duplicate(): PrimitiveTypeItem = method
29 DefaultPrimitiveTypeItem(modifiers.duplicate(), kind)
DDefaultVariableTypeItem.kt31 override fun duplicate(): VariableTypeItem = method
32 DefaultVariableTypeItem(modifiers.duplicate(), asTypeParameter)
DDefaultArrayTypeItem.kt29 override fun duplicate(componentType: TypeItem): ArrayTypeItem { in duplicate() method
30 return DefaultArrayTypeItem(modifiers.duplicate(), componentType, isVarargs) in duplicate()
DDefaultWildcardTypeItem.kt29 override fun duplicate( in duplicate() method
34 modifiers.duplicate(), in duplicate()
DDefaultClassTypeItem.kt39 override fun duplicate( in asClass() method
45 modifiers.duplicate(), in asClass()
DDefaultResolvedClassTypeItem.kt39 override fun duplicate( in asClass() method
43 return DefaultResolvedClassTypeItem(modifiers.duplicate(), classItem, arguments) in asClass()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/
DMergeSignaturesCommandTest.kt302 fun `Test can merge API signature files with duplicate class`() { in Test can merge API signature files with duplicate class()
358 fun `Test can merge API signature files with duplicate class and different annotations`() { in Test can merge API signature files with duplicate class and different annotations()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/fielditem/
DSourceFieldItemTest.kt233 fun `test duplicate() for fielditem`() { in test duplicate() for fielditem()
253 val duplicateField = fieldItem.duplicate(targetClassItem) in test duplicate() for fielditem()

123