Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeParameterItemTest.kt55 val typeParameter = fooClass.typeParameterList.single() in Test typeBounds no extends() constant
56 assertThat(typeParameter.toSource()).isEqualTo("T") in Test typeBounds no extends()
57 val typeBounds = typeParameter.typeBounds() in Test typeBounds no extends()
90 val typeParameter = fooClass.typeParameterList.single() in Test typeBounds extends Comparable() constant
91 val typeBounds = typeParameter.typeBounds() in Test typeBounds extends Comparable()
127 val typeParameter = fooClass.typeParameterList.single() in Test typeBounds multiple() constant
128 val typeBounds = typeParameter.typeBounds() in Test typeBounds multiple()
302 val typeParameter = clazz.typeParameterList.single() in Test type parameter bounds with multiple class parameters() constant
303 assertThat(typeParameter.isReified()).isFalse() in Test type parameter bounds with multiple class parameters()
305 assertThat(typeParameter.toSource()) in Test type parameter bounds with multiple class parameters()
[all …]
DCommonTypeModifiersTest.kt108 val typeParameter = variableMethod.typeParameterList.single() in <lambda>() constant
109 variable.assertReferencesTypeParameter(typeParameter) { in <lambda>()
182 val typeParameter = variableMethod.typeParameterList.single() in <lambda>() constant
183 variable.assertReferencesTypeParameter(typeParameter) { in <lambda>()
224 val typeParameter = variableMethod.typeParameterList.single() in <lambda>() constant
225 variable.assertReferencesTypeParameter(typeParameter) { in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeParameterList.kt137 for ((typeParameter, param) in typeParameterItemToBounds) { in equals() constant
138 val boundsTypeItem = boundsSetter(typeItemFactory, typeParameter, param) in equals()
139 if (typeParameter.typeBounds() !== boundsTypeItem) in equals()
DMethodItem.kt426 for (typeParameter in typeParameterList) { in <lambda>() method
427 if (typeParameter.typeBounds().any { it.hasHiddenType(filterReference) }) return true in <lambda>()
/tools/metalava/metalava-model-source/src/main/java/com/android/tools/lint/checks/infrastructure/
DClassName.kt180 val typeParameter = trimmed.indexOf('<') in getClassName() constant
181 return if (typeParameter != -1) { in getClassName()
182 trimmed.substring(0, typeParameter) in getClassName()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiAnnotationMixtureTest.kt106 val typeParameter = variableMethod.typeParameterList.single() in foo1() constant
107 variable.assertReferencesTypeParameter(typeParameter) in foo1()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/
DAssertions.kt158 typeParameter: TypeParameterItem, in assertReferencesTypeParameter()
162 assertThat(asTypeParameter).isSameInstanceAs(typeParameter) in assertReferencesTypeParameter()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/
DCommonClassItemTest.kt1529 val typeParameter = genericClass.typeParameterList.single() in Check TypeParameterItem is not a ClassItem() constant
1534 assertThat(typeParameter).isInstanceOf(TypeParameterItem::class.java) in Check TypeParameterItem is not a ClassItem()
1535 assertThat(typeParameter).isNotInstanceOf(ClassItem::class.java) in Check TypeParameterItem is not a ClassItem()
1563 val typeParameter = genericClass.typeParameterList.single() in Check pathological type parameter conflicting with primitive type() constant
1566 methodReturnType.assertReferencesTypeParameter(typeParameter) in Check pathological type parameter conflicting with primitive type()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineTypeItemFactory.kt136 val typeParameter = typeParameterScope.getTypeParameter(type.sym().name()) in <lambda>() constant
137 DefaultVariableTypeItem(modifiers, typeParameter) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt1240 for (typeParameter in typeParameterList) { in <lambda>() method
1241 for (bound in typeParameter.typeBounds()) { in <lambda>()