Home
last modified time | relevance | path

Searched refs:parseType (Results 1 – 2 of 2) sorted by relevance

/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParserTest.kt33 private fun parseType(type: String) = in parseType() method in com.android.tools.metalava.model.text.TextTypeParserTest
402 val type = parseType(inputType) in testArrayType()
412 expectedInnerType = parseType("test.pkg.@A @B Foo"), in Test parsing of array types with annotations()
417 expectedInnerType = parseType("java.lang.annotation.@NonNull Annotation"), in Test parsing of array types with annotations()
422 expectedInnerType = parseType("char"), in Test parsing of array types with annotations()
436 val type = parseType(inputType) in testClassType()
451 expectedInnerType = parseType("java.lang.String"), in Test parsing of abbreviated java lang types()
456 expectedInnerType = parseType("java.lang.String"), in Test parsing of abbreviated java lang types()
481 expectedTypeArguments = listOf(parseType("a.A"), parseType("b.B")) in Test parsing of class types with annotations()
486 expectedTypeArguments = listOf(parseType("java.util.Map.@NonNull Entry<a.A,b.B>")) in Test parsing of class types with annotations()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParser.kt119 parseType(type, typeParameterScope, annotations, forceClassToBeNonNull) in <lambda>()
124 private fun parseType( in <lambda>() method in com.android.tools.metalava.model.text.TextTypeParser
798 return parseType(type, typeParameterScope, emptyList(), forceClassToBeNonNull) in <lambda>()