Searched refs:typeBounds (Results 1 – 14 of 14) sorted by relevance
28 fun `Test typeBounds no extends`() { in Test typeBounds no extends()57 val typeBounds = typeParameter.typeBounds() in Test typeBounds no extends() constant58 assertThat(typeBounds.size).isEqualTo(0) in Test typeBounds no extends()63 fun `Test typeBounds extends Comparable`() { in Test typeBounds extends Comparable()91 val typeBounds = typeParameter.typeBounds() in Test typeBounds extends Comparable() constant92 assertThat(typeBounds.size).isEqualTo(1) in Test typeBounds extends Comparable()93 val typeBound = typeBounds[0] in Test typeBounds extends Comparable()100 fun `Test typeBounds multiple`() { in Test typeBounds multiple()128 val typeBounds = typeParameter.typeBounds() in Test typeBounds multiple() constant129 assertThat(typeBounds.size).isEqualTo(2) in Test typeBounds multiple()[all …]
28 fun typeBounds(): List<BoundsTypeItem> in name() method36 typeBounds().firstOrNull() ?: codebase.resolveClass(JAVA_LANG_OBJECT)?.type() in name()48 typeBounds().isNotEmpty() && typeBounds().singleOrNull()?.isJavaLangObject() != true in name()52 for (bound in typeBounds()) { in name()66 if (typeBounds().isEmpty() && !isReified()) name() in toStringForItem()71 if (typeBounds().isNotEmpty()) { in toStringForItem()73 typeBounds().joinTo(this, " & ") in toStringForItem()
139 if (typeParameter.typeBounds() !== boundsTypeItem) in equals()
427 if (typeParameter.typeBounds().any { it.hasHiddenType(filterReference) }) return true in <lambda>()
151 (other as? VariableTypeItem)?.asTypeParameter?.typeBounds()?.map { it.toTypeString() } in <lambda>()
84 if (typeParameter1.typeBounds() != typeParameter2.typeBounds()) { in equals()
53 override fun typeBounds(): List<BoundsTypeItem> = bounds in typeBounds() method
48 override fun typeBounds(): List<BoundsTypeItem> = bounds in name() method
605 val typeBounds = mutableListOf<BoundsTypeItem>() in <lambda>() constant608 upperBounds.bounds().mapTo(typeBounds) { typeItemFactory.getBoundsType(it) } in <lambda>()609 param.lowerBound()?.let { typeBounds.add(typeItemFactory.getBoundsType(it)) } in <lambda>()611 return typeBounds.toList() in <lambda>()
57 override fun typeBounds(): List<BoundsTypeItem> = bounds in psi() method
413 return old.asTypeParameter.typeBounds() == new.asTypeParameter.typeBounds() in compatibleReturnTypes()418 val constraints = new.asTypeParameter.typeBounds() in compatibleReturnTypes()670 if (type.asTypeParameter.typeBounds().isEmpty()) { in describeBounds()
673 assertEquals(0, typeParameter1.typeBounds().count()) in 180 - test classItem toType()684 assertEquals("test.pkg.Test", typeParameter2.typeBounds().single().toString()) in 180 - test classItem toType()
163 .typeBounds() in Test access type parameter of outer class in type parameters()
1241 for (bound in typeParameter.typeBounds()) { in <lambda>()