Home
last modified time | relevance | path

Searched refs:typeName (Results 1 – 4 of 4) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt287 fun toLambdaFormat(typeName: String): String { in <lambda>()
289 if (!typeName.startsWith(KOTLIN_FUNCTION_PREFIX)) { in <lambda>()
290 return typeName in <lambda>()
296 typeName.indexOf('<', startIndex = KOTLIN_FUNCTION_PREFIX.length) + 1 in <lambda>()
305 val returnTypeEnd = typeName.lastIndexOf('>') in <lambda>()
309 return typeName in <lambda>()
319 val c = typeName[i] in <lambda>()
340 depth < 0 -> return typeName // Bail, unbalanced nesting in <lambda>()
347 return typeName in <lambda>()
350 return buildString(typeName.length) { in <lambda>()
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTypeItemTest.kt57 fun check(typeName: String, expected: String = typeName) { in testToLambdaFormat()
58 assertThat(TypeItem.toLambdaFormat(typeName)).isEqualTo(expected) in testToLambdaFormat()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt917 val typeName = type.javaClass.simpleName in <lambda>() constant
919 printWriter.printf("Type: %s\n", typeName) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt348 private fun getPrimitiveSignature(typeName: String): String? = when (typeName) { in getPrimitiveSignature()