Home
last modified time | relevance | path

Searched refs:typeString (Results 1 – 14 of 14) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt321 var typeString = type.toTypeString( in <lambda>() variable
332 typeString = TypeItem.shortenTypes(typeString) in <lambda>()
335 …if (compatibility.includeExtendsObjectInWildcard && typeString.endsWith(", ?>") && item is Paramet… in <lambda>()
339 if (typeString == "java.util.function.Function<? super java.lang.Object, ?>") { in <lambda>()
340typeString = "java.util.function.Function<? super java.lang.Object, ? extends java.lang.Object>" in <lambda>()
344 …if (typeString == "java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Objec… in <lambda>()
345 typeString = in <lambda>()
352 writer.print(typeString) in <lambda>()
DApiLint.kt258 val typeString = type.toTypeString() in <lambda>() constant
259 checkPfd(typeString, item) in <lambda>()
260 checkNumbers(typeString, item) in <lambda>()
262 checkCollectionsOverArrays(type, typeString, item) in <lambda>()
264 checkIcu(type, typeString, item) in <lambda>()
265 checkBitSet(type, typeString, item) in <lambda>()
267 checkUri(typeString, item) in <lambda>()
268 checkFutures(typeString, item) in <lambda>()
1957 private fun checkBitSet(type: TypeItem, typeString: String, item: Item) { in <lambda>()
1958 if (typeString.startsWith("java.util.BitSet") && in <lambda>()
[all …]
DNullnessMigration.kt80 val typeString = type.toTypeString(outerAnnotations = false, innerAnnotations = true) in hasNullnessInformation() constant
81 typeString.contains(".Nullable") || typeString.contains(".NonNull") in hasNullnessInformation()
DJDiffXmlWriter.kt353 private fun formatType(typeString: String): String { in <lambda>()
356 return typeString.replace(",", ", ").replace(", ", ", ") in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DJavaStubWriter.kt292 val typeString = type.toErasedTypeString(it).replace("...", "[]") in <lambda>() constant
298 val cast = map?.get(type.toTypeString(context = it)) ?: typeString in <lambda>()
301 writer.write(typeString) in <lambda>()
308 val typeString = type.toTypeString(context = it) in <lambda>() constant
309 … if (typeString != "boolean" && typeString != "int" && typeString != "long") { in <lambda>()
311 writer.write(typeString) in <lambda>()
DKotlinStubWriter.kt196 val typeString = type.toTypeString( in <lambda>() constant
206 writer.print(typeString) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeItem.kt60 val typeString = toTypeString(type, outerAnnotations, innerAnnotations, erased, context) in toTypeString() constant
75 null -> return "$typeString!" in toTypeString()
76 true -> return "$typeString?" in toTypeString()
80 return typeString in toTypeString()
212 fun isLikelyTypeParameter(typeString: String): Boolean { in markRecent()
213 val first = typeString[0] in markRecent()
218 for (c in typeString) { in markRecent()
DTextTypeParameterItem.kt90 fun bounds(typeString: String?, owner: TypeParameterListOwner? = null): List<String> { in bounds()
91 val s = typeString ?: return emptyList() in bounds()
112 add(list, typeString, start, i) in bounds()
117 add(list, typeString, start, i) in bounds()
127 add(list, typeString, start, length) in bounds()
DTextTypeParameterList.kt61 fun typeParameterStrings(typeString: String?): List<String> { in typeParameterStrings()
62 val s = typeString ?: return emptyList() in typeParameterStrings()
DApiFile.java856 String typeString = kotlinTypeSuffix.getFirst(); in parseParameterList() local
859 if (typeString.endsWith("...")) { in parseParameterList()
862 TextTypeItem typeInfo = api.obtainTypeFromString(typeString, in parseParameterList()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt115 val typeString = in <lambda>() constant
117 return convertTypeString(typeString, replacementMap) in <lambda>()
257 fun convertTypeString(typeString: String, replacementMap: Map<String, String>?): String { in <lambda>()
258 var string = typeString in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt419 val typeString = in toTypeString() constant
438 return TypeItem.formatType(typeString) in toTypeString()
727 val typeString = sb.toString() in typeParameterList() constant
728 return TypeItem.cleanupGenerics(typeString) in typeParameterList()
DJavadoc.kt956 val typeString = if (space == -1) { in expandArgumentList() constant
968 if (typeString[0].isUpperCase()) { in expandArgumentList()
970 val type = elementFactory.createTypeFromText(typeString, element) in expandArgumentList()
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/
DTextTypeItemTest.kt24 fun `test typeString()`() { in test typeString()()