/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/ |
D | TypeItem.kt | 102 fun asClass(): ClassItem? in <lambda>() method 226 val cls1 = type1.asClass() in <lambda>() 227 val cls2 = type2.asClass() in <lambda>() 254 val cls1 = type1.asClass() in <lambda>() 255 val cls2 = type2.asClass() in <lambda>() 833 override fun asClass(): ClassItem? = null in hashCodeForType() method 871 override fun asClass(): ClassItem? = componentType.asClass() in hashCodeForType() method 897 get() = asClass() 1031 override fun asClass() = asTypeParameter.asErasedType()?.asClass() in duplicate() method 1089 override fun asClass(): ClassItem? = null in hashCodeForType() method
|
D | ClassItem.kt | 135 val cls = it.asClass() in <lambda>() 314 val cls = itf.asClass() ?: continue in <lambda>() 366 val cls = itf.asClass() ?: continue in <lambda>() 460 val superClass = superClassType.asClass() ?: return null in <lambda>() 616 val superClass = superClassType.asClass() in <lambda>() 641 val cls = type.asClass() ?: continue in <lambda>() 722 val declaringClass = superClassType.asClass() ?: continue in <lambda>()
|
D | MethodItem.kt | 439 asClass()?.let { !filterReference.test(it) } == true || in <lambda>() 509 s.interfaceTypes().mapNotNull { interfaceType -> interfaceType.asClass() } in <lambda>() 667 val itfClass = itf.asClass() ?: continue in MethodItem()
|
D | Codebase.kt | 164 interfaceType.asClass() in resolveSuperTypes()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | ApiAnalyzer.kt | 326 val hiddenInterfaceClass = hiddenInterface.asClass() in <lambda>() 331 interfaceTypes.mapNotNull { it.asClass() }.toMutableList() in <lambda>() 377 val interfaceClass = interfaceType.asClass() ?: continue in <lambda>() 1009 val cls = classType.asClass() ?: return in <lambda>() 1090 if (t.asClass()?.effectivelyDeprecated == true) { in <lambda>() 1257 val asClass = classType.asClass() ?: return in <lambda>() constant 1258 cantStripThis(asClass, filter, notStrippable, context, usage) in <lambda>() 1277 if (classType.asClass()?.effectivelyDeprecated == true) { in <lambda>() 1330 val asClass = classType.asClass() ?: return in <lambda>() constant 1333 asClass.containingPackage().qualifiedName() in <lambda>() [all …]
|
D | ProguardWriter.kt | 134 val cls = t.asClass() ?: return t.toCanonicalType() in getCleanTypeName()
|
D | KotlinInteropChecks.kt | 371 val cls = parameter.type().asClass() in <lambda>()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/ |
D | CommonParameterizedTypeItemTest.kt | 163 fun `Test asClass`() { in Test asClass() 165 assertEquals(params.expectedAsClassName, typeItem.asClass()?.qualifiedName()) in Test asClass()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/codebase/ |
D | ParameterizedFindClassTest.kt | 156 fooMethod.returnType().asClass() in test findClass()() 160 fooMethod.parameters().single().type().asClass() in test findClass()()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/classitem/ |
D | CommonClassItemTest.kt | 324 val interfaceList = fooInterface.interfaceTypes().map { it.asClass() } in Test interface no extends list() 376 assertNull(fooInterface.superClassType()?.asClass()) in Test interface extends list() 379 val interfaceList = fooInterface.interfaceTypes().map { it.asClass() } in Test interface extends list() 424 val interfaceList = fooClass.interfaceTypes().map { it.asClass() } in Test class no super class or implements lists() 466 assertSame(barClass, fooClass.superClassType()?.asClass()) in Test class super class no implements lists() 469 val interfaceList = fooClass.interfaceTypes().map { it.asClass() } in Test class super class no implements lists() 529 val interfaceList = fooClass.interfaceTypes().map { it.asClass() } in Test class no super class but implements lists() 586 assertSame(barClass, fooClass.superClassType()?.asClass()) in Test class super class and implements lists() 589 val interfaceList = fooClass.interfaceTypes().map { it.asClass() } in Test class super class and implements lists()
|
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/ |
D | DefaultClassTypeItem.kt | 37 override fun asClass() = asClassCache in asClass() method
|
D | DefaultResolvedClassTypeItem.kt | 37 override fun asClass() = classItem in asClass() method
|
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | TextClassItem.kt | 69 interfaceTypes.asSequence().map { it.asClass() }.filterNotNull(), in interfaceTypes() 103 override fun superClass(): ClassItem? = superClassType?.asClass() in containingPackage()
|
D | TextTypeParser.kt | 161 ?: asClass(trimmed, typeParameterScope, allAnnotations, nullability) in <lambda>() 363 private fun asClass( in <lambda>() method in com.android.tools.metalava.model.text.TextTypeParser
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AddApisFromCodebase.kt | 94 val interfaceClass = interfaceType.asClass() ?: return in <lambda>() 155 val interfaceClass = interfaceType.asClass() ?: return in <lambda>()
|
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/ |
D | TurbineClassItem.kt | 98 val itf = interfaceType.asClass() in <lambda>() 165 override fun superClass(): ClassItem? = superClassType?.asClass() in <lambda>()
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | ApiFileTest.kt | 138 val errorSuperClass = error.superClassType()?.asClass() in <lambda>() 448 codebase.assertResolvedClass("test.pkg.Foo").interfaceTypes().single().asClass() in <lambda>()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/ |
D | CompatibilityCheck.kt | 241 val qualifiedName = iface.asClass()?.qualifiedName() ?: continue in compare() 252 val qualifiedName = iface.asClass()?.qualifiedName() ?: continue in compare() 419 val oldClass = old.asClass() in compatibleReturnTypes() 421 val newClass = constraint.asClass() in compatibleReturnTypes()
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiParameterItem.kt | 92 "kotlin.coroutines.Continuation" == type.asClass()?.qualifiedName() && in name() 280 val cls = type.asClass() in isSamCompatibleOrKotlinLambda()
|
D | PsiTypeItem.kt | 95 override fun asClass() = asClassCache in asClass() method
|
D | PsiMethodItem.kt | 168 val exceptionClass = typeItemFactory.getType(type).asClass() in <lambda>()
|
D | PsiClassItem.kt | 99 override fun superClass(): ClassItem? = superClassType?.asClass() in <lambda>()
|
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/ |
D | CommonModelTest.kt | 375 interfaceType.asClass() in Test iterate and resolve unknown interface classes()
|
D | BootstrapSourceModelProviderTest.kt | 381 assertEquals(null, superClassType.asClass()) in 130 - test missing symbols()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | KotlinStubWriter.kt | 106 val s = superClass.asClass() in <lambda>()
|