Searched refs:splitNullabilitySuffix (Results 1 – 2 of 2) sorted by relevance
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeParserTest.kt | 92 assertThat(TextTypeParser.splitNullabilitySuffix("String!", true)) in Test splitting Kotlin nullability suffix() 94 assertThat(TextTypeParser.splitNullabilitySuffix("String?", true)) in Test splitting Kotlin nullability suffix() 96 assertThat(TextTypeParser.splitNullabilitySuffix("String", true)) in Test splitting Kotlin nullability suffix() 99 assertThat(TextTypeParser.splitNullabilitySuffix("?", true)) in Test splitting Kotlin nullability suffix() 101 assertThat(TextTypeParser.splitNullabilitySuffix("T", true)) in Test splitting Kotlin nullability suffix() 107 assertThat(TextTypeParser.splitNullabilitySuffix("String", false)) in Test splitting Kotlin nullability suffix when kotlinStyleNulls is false() 109 assertThat(TextTypeParser.splitNullabilitySuffix("?", false)).isEqualTo(Pair("?", null)) in Test splitting Kotlin nullability suffix when kotlinStyleNulls is false() 115 TextTypeParser.splitNullabilitySuffix("String!", false) in Test splitting Kotlin nullability suffix when kotlinStyleNulls is false() 121 TextTypeParser.splitNullabilitySuffix("String?", false) in Test splitting Kotlin nullability suffix when kotlinStyleNulls is false()
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeParser.kt | 134 splitNullabilitySuffix( in <lambda>() 239 var nullabilityResult = splitNullabilitySuffix(componentString, kotlinStyleNulls) in <lambda>() 256 nullabilityResult = splitNullabilitySuffix(componentString, kotlinStyleNulls) in <lambda>() 575 fun splitNullabilitySuffix( in <lambda>() method
|