/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiLint.kt | 284 val typeString = type.toTypeString() in <lambda>() 905 parameters.size == 1 && parameters[0].type().toTypeString() == "android.os.Parcel" in <lambda>() 1181 if (method.returnType()?.toTypeString() == "android.content.Intent") { in <lambda>() 1383 val clsType = cls.toType().toTypeString() in <lambda>() 1396 val returnType = method.returnType()?.toTypeString() ?: "" in <lambda>() 1398 it.toType().toTypeString() in <lambda>() 1418 val isBool = when (method.parameters().firstOrNull()?.type()?.toTypeString()) { in <lambda>() 1466 val implementsIInterface = interfaces.any { it.toTypeString() == "android.os.IInterface" } in <lambda>() 1669 …return method.parameters().isEmpty() && returnType.primitive && returnType.toTypeString() == "bool… in <lambda>() 1673 … return method.parameters().size == 1 && method.parameters()[0].type().toTypeString() == "boolean" in <lambda>() [all …]
|
D | NullnessMigration.kt | 80 val typeString = type.toTypeString(outerAnnotations = false, innerAnnotations = true) in hasNullnessInformation() 90 if (old.toTypeString(outerAnnotations = false, innerAnnotations = true) != in checkType() 91 new.toTypeString(outerAnnotations = false, innerAnnotations = true) in checkType()
|
D | SignatureWriter.kt | 201 superClass.toTypeString( in <lambda>() 253 item.toTypeString( in <lambda>() 311 var typeString = type.toTypeString( in <lambda>()
|
D | JDiffXmlWriter.kt | 303 superClass.toTypeString( in <lambda>() 333 … val type = item.toTypeString(erased = compatibility.omitTypeParametersInInterfaces, context = cls) in <lambda>() 351 private fun formatType(type: TypeItem): String = formatType(type.toTypeString()) in <lambda>()
|
D | ComparisonVisitor.kt | 337 val type1 = parameter1.type().toTypeString(context = parameter1) in compare() 338 val type2 = parameter2.type().toTypeString(context = parameter2) in compare()
|
D | ExtractAnnotations.kt | 431 sb.append(escapeXml(returnType()!!.toTypeString())) in <lambda>() 450 val type = parameterList[i].type().toTypeString() in <lambda>()
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/text/ |
D | TextTypeItemTest.kt | 27 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/psi/ |
D | PsiTypeItem.kt | 69 return toTypeString() in toString() 72 override fun toTypeString( in toTypeString() method in com.android.tools.metalava.model.psi.PsiTypeItem 86 return toTypeString( in toTypeString() 101 toTypeString( in toTypeString() 113 toErasedString = toTypeString( in toTypeString() 130 toAnnotatedString = toTypeString( in toTypeString() 145 toInnerAnnotatedString = toTypeString( in toTypeString() 179 return toTypeString( in toErasedTypeString() 208 is TypeItem -> TypeItem.equalsWithoutSpace(toTypeString(), other.toTypeString()) in equals() 334 val source = toTypeString(outerAnnotations = true, innerAnnotations = true) in markRecent() [all …]
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | TypeItem.kt | 51 fun toTypeString( in <lambda>() method 75 return stripJavaLangPrefix(toTypeString()) in <lambda>() 84 var s = toTypeString(context = context) in <lambda>() 111 …val typeString = toTypeString(outerAnnotations = true, innerAnnotations = true, kotlinStyleNulls =… in <lambda>() 116 return toTypeString() == JAVA_LANG_OBJECT in <lambda>() 120 return toTypeString() == JAVA_LANG_STRING in <lambda>() 124 return when (toTypeString()) { in <lambda>() 139 fun hasTypeArguments(): Boolean = toTypeString().contains("<") in <lambda>() 248 type1.toTypeString().compareTo(type2.toTypeString()) in <lambda>()
|
D | MethodItem.kt | 249 p1[i].type().toTypeString() in <lambda>() 250 .compareTo(p2[i].type().toTypeString(), ignoreCase = true) in <lambda>() 355 sb.append(parameter.type().toTypeString()) in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextTypeItem.kt | 43 return toTypeString( in toString() 52 override fun toTypeString( in toTypeString() method in com.android.tools.metalava.model.text.TextTypeItem 60 val typeString = toTypeString(type, outerAnnotations, innerAnnotations, erased, context) in toTypeString() 110 val thisString = toTypeString() in qualifiedTypeName() 111 val otherString = other.toTypeString() in qualifiedTypeName() 172 return if (isLikelyTypeParameter(toTypeString())) { in asTypeParameter() 174 … TextTypeParameterItem.create(codebase, context as? TypeParameterListOwner, toTypeString()) in asTypeParameter() 184 toTypeString(), in asTypeParameter() 233 fun toTypeString( in markRecent() method
|
D | TextCodebase.kt | 137 val existing = cl.superClassType()?.toTypeString() in resolveSuperclasses()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 184 val qualifiedName = superClass.toTypeString() in <lambda>() 222 writer.print(type.toTypeString()) in <lambda>() 298 val cast = map?.get(type.toTypeString(context = it)) ?: typeString in <lambda>() 308 val typeString = type.toTypeString(context = it) in <lambda>() 363 returnType?.toTypeString( in <lambda>() 403 field.type().toTypeString( in <lambda>() 440 parameter.type().toTypeString( in <lambda>()
|
D | KotlinStubWriter.kt | 141 … val qualifiedName = superClass.toTypeString() // TODO start passing language = Language.KOTLIN in <lambda>() 185 writer.print(type.toTypeString()) // TODO start passing language = Language.KOTLIN in <lambda>() 196 val typeString = type.toTypeString( in <lambda>()
|