Home
last modified time | relevance | path

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

/tools/metalava/src/test/java/com/android/tools/metalava/model/text/
DTextTypeItemTest.kt27 assertThat(TextTypeItem.toTypeString(full, false, false, false)).isEqualTo( in test typeString()()
30 assertThat(TextTypeItem.toTypeString(full, false, true, false)).isEqualTo( in test typeString()()
33 assertThat(TextTypeItem.toTypeString(full, false, false, true)).isEqualTo( in test typeString()()
37 TextTypeItem.toTypeString( in test typeString()()
45 TextTypeItem.toTypeString( in test typeString()()
52 assertThat(TextTypeItem.toTypeString("int", false, false, false)).isEqualTo("int") in test typeString()()
55 TextTypeItem.toTypeString( in test typeString()()
92 TextTypeItem.toTypeString( in check erasure()
124 TextTypeItem.toTypeString( in check erasure from object()
154 TextTypeItem.toTypeString( in check erasure from enums()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextCodebase.kt174 TextTypeItem(this, JAVA_LANG_THROWABLE) in resolveThrowsClasses()
215 val erased = TextTypeItem.eraseTypeArguments(name) in getOrCreateClass()
299 ): TextTypeItem { in obtainTypeFromString()
300 if (TextTypeItem.isLikelyTypeParameter(type)) { in obtainTypeFromString()
324 return TextTypeItem(this, type) in obtainTypeFromString()
424 fun obtainTypeFromString(type: String): TextTypeItem { in obtainTypeFromString()
425 return mTypesFromString.obtain(type) as TextTypeItem in obtainTypeFromString()
434 return TextTypeItem(codebase, "java.lang.$name") in make()
437 return TextTypeItem(codebase, name) in make()
452 return dotIndex == -1 && !TextTypeItem.isPrimitive(s) in implicitJavaLangType()
[all …]
DApiFile.java282 final TextTypeItem typeInfo = api.obtainTypeFromString(qualifiedName); in parseClass()
378 …if (!TextTypeItem.Companion.isPrimitive(type)) { // Don't add nullness on primitive types like void in processKotlinTypeSuffix()
467 TextTypeItem returnType; in parseMethod()
572 TextTypeItem typeInfo = api.obtainTypeFromString(type); in parseField()
776 TextTypeItem typeInfo = api.obtainTypeFromString(type); in parseProperty()
853 TextTypeItem typeInfo = api.obtainTypeFromString(typeString, in parseParameterList()
DTextClassItem.kt174 private var typeInfo: TextTypeItem? = null
175 fun setTypeInfo(typeInfo: TextTypeItem) { in setTypeInfo()
179 fun asTypeInfo(): TextTypeItem { in asTypeInfo()
DTextTypeItem.kt35 class TextTypeItem( class
108 is TextTypeItem -> TypeItem.equalsWithoutSpace(toString(), other.toString()) in qualifiedTypeName()
203 return TextTypeItem(codebase, convertTypeString(replacementMap)) in typeArgumentClasses()
DTextParameterItem.kt31 private var type: TextTypeItem,
47 override fun type(): TextTypeItem = type in type()
DTextConstructorItem.kt26 returnType: TextTypeItem?,
DTextPropertyItem.kt28 private val type: TextTypeItem,
DTextFieldItem.kt28 private val type: TextTypeItem,
DTextMethodItem.kt35 private val returnType: TextTypeItem?,