Home
last modified time | relevance | path

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

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeParameterItem.kt52 for (bound in typeBounds()) { in name() variable
59 append(bound.toTypeString(spaceBetweenParameters = true)) in name()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DUastTestBase.kt584 fun `Upper bound wildcards -- enum members`() { in Upper bound wildcards -- enum members()
680 fun `Upper bound wildcards -- type alias`() { in Upper bound wildcards -- type alias()
711 fun `Upper bound wildcards -- extension function type`() { in Upper bound wildcards -- extension function type()
755 fun `Upper bound wildcards -- extension function type -- deprecated`() { in Upper bound wildcards -- extension function type -- deprecated()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParser.kt313 val bound = type.substring(2) + nullability?.suffix.orEmpty() in <lambda>() constant
314 return if (bound.startsWith("extends")) { in <lambda>()
315 val extendsBound = bound.substring(8) in <lambda>()
321 } else if (bound.startsWith("super")) { in <lambda>()
322 val superBound = bound.substring(6) in <lambda>()
336 private fun getWildcardBound(bound: String, typeParameterScope: TypeParameterScope) = in <lambda>()
337 cachedParseType(bound, typeParameterScope) as ReferenceTypeItem in <lambda>()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineCodebaseInitialiser.kt46 import com.google.turbine.binder.bound.EnumConstantValue in <lambda>()
47 import com.google.turbine.binder.bound.SourceTypeBoundClass in <lambda>()
48 import com.google.turbine.binder.bound.TurbineClassValue in <lambda>()
49 import com.google.turbine.binder.bound.TypeBoundClass in <lambda>()
50 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo in <lambda>()
51 import com.google.turbine.binder.bound.TypeBoundClass.MethodInfo in <lambda>()
52 import com.google.turbine.binder.bound.TypeBoundClass.ParamInfo in <lambda>()
53 import com.google.turbine.binder.bound.TypeBoundClass.TyVarInfo in <lambda>()
DTurbineTypeItemFactory.kt146 val upperBound = createWildcardBound(type.bound()) in <lambda>()
152 val lowerBound = createWildcardBound(type.bound()) in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItemFactory.kt676 bound: PsiType, in <lambda>()
680 return if (bound == PsiTypes.nullType()) { in <lambda>()
684 createTypeItem(bound, kotlinType, contextNullability) as ReferenceTypeItem in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeParameterItemTest.kt345 fun `Test explicit Object bound`() { in Test explicit Object bound()
DCommonTypeModifiersTest.kt2007 fun `Test inherited nullability of bounded Kotlin type variables - bound is not nullable`() { in <lambda>()
2027 fun `Test inherited nullability of bounded Kotlin type variables - bound is nullable`() { in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt1241 for (bound in typeParameter.typeBounds()) { in <lambda>() method
1242 cantStripThis(bound, context, filter, notStrippable, "as type parameter") in <lambda>()
/tools/metalava/
DFORMAT.md427 Doclava (v1) would sometimes use the type bound <?> and other times use <?