Home
last modified time | relevance | path

Searched refs:isVarargs (Results 1 – 10 of 10) sorted by relevance

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonInternalNameTest.kt41 fun isVarargs() = javaType.endsWith("...") in isVarargs() method
45 return if (isVarargs()) { in isVarargs()
176 if (params.isVarargs()) { in test()
183 if (params.isVarargs()) { in test()
DCommonTypeItemTest.kt152 assertThat(intArray.isVarargs).isFalse() in Test primitive array types()
160 assertThat(charArray.isVarargs).isFalse() in Test primitive array types()
208 assertThat(intArray.isVarargs).isTrue() in Test primitive vararg types()
248 assertThat((intArrayArray as ArrayTypeItem).isVarargs).isFalse() in Test multidimensional primitive array types()
252 assertThat((intArray as ArrayTypeItem).isVarargs).isFalse() in Test multidimensional primitive array types()
261 assertThat((charArrayArray as ArrayTypeItem).isVarargs).isTrue() in Test multidimensional primitive array types()
265 assertThat((charArray as ArrayTypeItem).isVarargs).isFalse() in Test multidimensional primitive array types()
322 assertThat(simpleArray.isVarargs).isFalse() in Test class array types()
327 assertThat((twoDimensionalArray as ArrayTypeItem).isVarargs).isFalse() in Test class array types()
331 assertThat(innerArray.isVarargs).isFalse() in Test class array types()
[all …]
DCommonTypeModifiersTest.kt502 assertThat(isVarargs).isTrue() in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DDefaultArrayTypeItem.kt27 override val isVarargs: Boolean, constant
30 return DefaultArrayTypeItem(modifiers.duplicate(), componentType, isVarargs) in duplicate()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt69 override val isVarargs: Boolean, in duplicate() constant
76 isVarargs = isVarargs, in duplicate()
DPsiTypeItemFactory.kt295 isVarargs = psiType is PsiEllipsisType, in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt473 if (index < arrayModifiers.size - 1 || !type.isVarargs) { in hashCode()
485 if (type.isVarargs) { in hashCode()
842 val isVarargs: Boolean in hashCodeForType() constant
866 return isVarargs == other.isVarargs && componentType.equalToType(other.componentType) in hashCodeForType()
869 override fun hashCodeForType(): Int = Objects.hash(isVarargs, componentType) in hashCodeForType()
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParserTest.kt405 assertThat(type.isVarargs).isEqualTo(expectedVarargs) in testArrayType()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt341 assertThat((param.type() as ArrayTypeItem).isVarargs).isTrue() in <lambda>()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DApiFile.kt1681 if (type is ArrayTypeItem && type.isVarargs) { in create()
1781 if (typeItem is ArrayTypeItem && typeItem.isVarargs) { in synchronizeNullability()