Home
last modified time | relevance | path

Searched refs:asClass (Results 1 – 25 of 25) sorted by relevance

/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt102 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
DClassItem.kt135 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>()
DMethodItem.kt439 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()
DCodebase.kt164 interfaceType.asClass() in resolveSuperTypes()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt326 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 …]
DProguardWriter.kt134 val cls = t.asClass() ?: return t.toCanonicalType() in getCleanTypeName()
DKotlinInteropChecks.kt371 val cls = parameter.type().asClass() in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonParameterizedTypeItemTest.kt163 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/
DParameterizedFindClassTest.kt156 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/
DCommonClassItemTest.kt324 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/
DDefaultClassTypeItem.kt37 override fun asClass() = asClassCache in asClass() method
DDefaultResolvedClassTypeItem.kt37 override fun asClass() = classItem in asClass() method
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt69 interfaceTypes.asSequence().map { it.asClass() }.filterNotNull(), in interfaceTypes()
103 override fun superClass(): ClassItem? = superClassType?.asClass() in containingPackage()
DTextTypeParser.kt161 ?: 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/
DAddApisFromCodebase.kt94 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/
DTurbineClassItem.kt98 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/
DApiFileTest.kt138 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/
DCompatibilityCheck.kt241 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/
DPsiParameterItem.kt92 "kotlin.coroutines.Continuation" == type.asClass()?.qualifiedName() && in name()
280 val cls = type.asClass() in isSamCompatibleOrKotlinLambda()
DPsiTypeItem.kt95 override fun asClass() = asClassCache in asClass() method
DPsiMethodItem.kt168 val exceptionClass = typeItemFactory.getType(type).asClass() in <lambda>()
DPsiClassItem.kt99 override fun superClass(): ClassItem? = superClassType?.asClass() in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DCommonModelTest.kt375 interfaceType.asClass() in Test iterate and resolve unknown interface classes()
DBootstrapSourceModelProviderTest.kt381 assertEquals(null, superClassType.asClass()) in 130 - test missing symbols()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt106 val s = superClass.asClass() in <lambda>()