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/
DApiLint.kt284 val typeString = type.toTypeString() in <lambda>() constant
285 checkPfd(typeString, item) in <lambda>()
286 checkNumbers(typeString, item) in <lambda>()
288 checkCollectionsOverArrays(type, typeString, item) in <lambda>()
290 checkIcu(type, typeString, item) in <lambda>()
291 checkBitSet(type, typeString, item) in <lambda>()
293 checkUri(typeString, item) in <lambda>()
294 checkFutures(typeString, item) in <lambda>()
1903 private fun checkBitSet(type: TypeItem, typeString: String, item: Item) { in <lambda>()
1904 if (typeString.startsWith("java.util.BitSet") && in <lambda>()
[all …]
DSignatureWriter.kt311 var typeString = type.toTypeString( in <lambda>() variable
322 typeString = TypeItem.shortenTypes(typeString) in <lambda>()
325 …if (compatibility.includeExtendsObjectInWildcard && typeString.endsWith(", ?>") && item is Paramet… in <lambda>()
329 if (typeString == "java.util.function.Function<? super java.lang.Object, ?>") { in <lambda>()
330typeString = "java.util.function.Function<? super java.lang.Object, ? extends java.lang.Object>" in <lambda>()
334 …if (typeString == "java.util.function.BiFunction<? super java.lang.Object, ? super java.lang.Objec… in <lambda>()
335 typeString = in <lambda>()
342 writer.print(typeString) in <lambda>()
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.java847 String typeString = kotlinTypeSuffix.getFirst(); in parseParameterList() local
850 if (typeString.endsWith("...")) { in parseParameterList()
853 TextTypeItem typeInfo = api.obtainTypeFromString(typeString, in parseParameterList()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt111 …val typeString = toTypeString(outerAnnotations = true, innerAnnotations = true, kotlinStyleNulls =… in <lambda>() constant
112 return convertTypeString(typeString, replacementMap) in <lambda>()
252 fun convertTypeString(typeString: String, replacementMap: Map<String, String>?): String { in <lambda>()
253 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.kt954 val typeString = if (space == -1) { in expandArgumentList() constant
966 if (typeString[0].isUpperCase()) { in expandArgumentList()
968 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()()