Home
last modified time | relevance | path

Searched refs:WildcardTypeItem (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeVisitor.kt28 fun visit(wildcardType: WildcardTypeItem) = Unit in <lambda>()
57 override fun visit(wildcardType: WildcardTypeItem) { in visit()
75 open fun visitWildcardType(wildcardType: WildcardTypeItem) = Unit in visitType()
123 fun visit(wildcardType: WildcardTypeItem, other: List<TypeItem>) { in visitType()
130 other.mapNotNull { (it as? WildcardTypeItem)?.superBound } in visitType()
137 other.mapNotNull { (it as? WildcardTypeItem)?.extendsBound } in visitType()
152 open fun visitWildcardType(wildcardType: WildcardTypeItem, other: List<TypeItem>) = Unit in visitType()
DTypeItem.kt539 is WildcardTypeItem -> { in hashCode()
1046 interface WildcardTypeItem : TypeItem, TypeArgumentTypeItem { interface
1061 override fun duplicate(): WildcardTypeItem = in duplicate()
1072 ): WildcardTypeItem in duplicate()
1074 override fun convertType(typeParameterBindings: TypeParameterBindings): WildcardTypeItem { in duplicate()
1082 if (other !is WildcardTypeItem) return false in equalToType()
DMethodItem.kt443 is WildcardTypeItem -> in <lambda>()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DDefaultWildcardTypeItem.kt22 import com.android.tools.metalava.model.WildcardTypeItem
28 ) : WildcardTypeItem, DefaultTypeItem(modifiers) {
32 ): WildcardTypeItem { in duplicate()
DTypeItemFactory.kt29 import com.android.tools.metalava.model.WildcardTypeItem in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt31 import com.android.tools.metalava.model.WildcardTypeItem
179 ) : WildcardTypeItem, PsiTypeItem(psiType, modifiers) { in duplicate()
183 ): WildcardTypeItem = in duplicate()
DPsiTypeItemFactory.kt31 import com.android.tools.metalava.model.WildcardTypeItem in <lambda>()
525 return unboxTypeWherePossible((typeItem as? WildcardTypeItem)?.superBound ?: typeItem) in <lambda>()
532 return unboxTypeWherePossible((typeItem as? WildcardTypeItem)?.extendsBound ?: typeItem) in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeItemTest.kt26 import com.android.tools.metalava.model.WildcardTypeItem
397 assertThat(unboundedWildcard).isInstanceOf(WildcardTypeItem::class.java) in Test wildcard types()
398 val unboundedExtendsBound = (unboundedWildcard as WildcardTypeItem).extendsBound in Test wildcard types()
405 assertThat(extendsBoundWildcard).isInstanceOf(WildcardTypeItem::class.java) in Test wildcard types()
406 val extendsBound = (extendsBoundWildcard as WildcardTypeItem).extendsBound in Test wildcard types()
414 assertThat(superBoundWildcard).isInstanceOf(WildcardTypeItem::class.java) in Test wildcard types()
415 val superExtendsBound = (superBoundWildcard as WildcardTypeItem).extendsBound in Test wildcard types()
424 assertThat(arrayExtendsBoundWildcard).isInstanceOf(WildcardTypeItem::class.java) in Test wildcard types()
425 val arrayExtendsBound = (arrayExtendsBoundWildcard as WildcardTypeItem).extendsBound in Test wildcard types()
1348 val extendsX = convertedWildcards.arguments[0] as WildcardTypeItem in Test convertType()
[all …]
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParserCacheTest.kt25 import com.android.tools.metalava.model.WildcardTypeItem in <lambda>()
331 assertThat((second.arguments[0] as WildcardTypeItem).extendsBound) in <lambda>()
343 assertThat((second.arguments[0] as WildcardTypeItem).superBound).isSameInstanceAs(first) in <lambda>()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/
DAssertions.kt220 fun TypeItem?.assertWildcardItem(body: (WildcardTypeItem.() -> Unit)? = null) { in assertWildcardItem()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParser.kt35 import com.android.tools.metalava.model.WildcardTypeItem in <lambda>()
300 ): WildcardTypeItem? { in <lambda>()