Home
last modified time | relevance | path

Searched refs:TextTypeParser (Results 1 – 5 of 5) sorted by relevance

/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParserTest.kt31 private val typeParser = TextTypeParser(ApiFile.parseApi("test", ""))
38 assertThat(TextTypeParser.typeParameterStrings(null).toString()).isEqualTo("[]") in parseType()
39 assertThat(TextTypeParser.typeParameterStrings("").toString()).isEqualTo("[]") in parseType()
40 assertThat(TextTypeParser.typeParameterStrings("<X>").toString()).isEqualTo("[X]") in parseType()
41 assertThat(TextTypeParser.typeParameterStrings("<ABC,DEF extends T>").toString()) in parseType()
44 TextTypeParser.typeParameterStrings("<T extends java.lang.Comparable<? super T>>") in parseType()
49 TextTypeParser.typeParameterStrings("<java.util.List<java.lang.String>[]>") in parseType()
58 TextTypeParser.typeParameterStrings( in Test type parameter strings with annotations()
63 assertThat(TextTypeParser.typeParameterStrings("<@test.pkg.C String>")) in Test type parameter strings with annotations()
66 TextTypeParser.typeParameterStrings( in Test type parameter strings with annotations()
[all …]
DTextTypeParserCacheTest.kt36 val parser: TextTypeParser, in <lambda>()
55 TextTypeParser( in <lambda>()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItemFactory.kt31 private val typeParser: TextTypeParser, in <lambda>()
DTextTypeParser.kt46 internal class TextTypeParser(val codebase: Codebase, val kotlinStyleNulls: Boolean = false) { in <lambda>() class
DApiFile.kt95 lazy(LazyThreadSafetyMode.NONE) { TextTypeParser(codebase, kotlinStyleNulls!!) } in <lambda>()
1467 val typeParameterStrings = TextTypeParser.typeParameterStrings(typeParameterListString) in createTypeParameterList()