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 …]
DTextClassItem.kt174 private var typeInfo: TextTypeItem? = null
175 fun setTypeInfo(typeInfo: TextTypeItem) { in setTypeInfo()
179 fun asTypeInfo(): TextTypeItem { in asTypeInfo()
DTextParameterItem.kt32 private var type: TextTypeItem,
48 override fun type(): TextTypeItem = type in type()
DTextTypeItem.kt35 class TextTypeItem( class
108 is TextTypeItem -> TypeItem.equalsWithoutSpace(toString(), other.toString()) in qualifiedTypeName()
203 return TextTypeItem(codebase, convertTypeString(replacementMap)) in typeArgumentClasses()
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()
780 TextTypeItem typeInfo = api.obtainTypeFromString(type); in parseProperty()
862 TextTypeItem typeInfo = api.obtainTypeFromString(typeString, in parseParameterList()
DTextConstructorItem.kt26 returnType: TextTypeItem?,
DTextPropertyItem.kt28 private val type: TextTypeItem,
DTextFieldItem.kt28 private val type: TextTypeItem,
DTextMethodItem.kt35 private val returnType: TextTypeItem?,