Home
last modified time | relevance | path

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

/tools/metalava/src/main/java/com/android/tools/metalava/
DApiAnalyzer.kt288 val hiddenInterfaceClass = hiddenInterface.asClass() in <lambda>()
293 … interfaceTypes.asSequence().map { it.asClass() }.filterNotNull().toMutableList() in <lambda>()
339 val interfaceClass = interfaceType.asClass() ?: continue in <lambda>()
882 val cls = type.asClass() in <lambda>()
978 …if (!m.deprecated && !cl.deprecated && returnType != null && returnType.asClass()?.deprecated == t… in <lambda>()
987 if (hiddenClass.qualifiedName() == returnType?.asClass()?.qualifiedName()) { in <lambda>()
1007 … if (!m.deprecated && !cl.deprecated && t.asClass()?.deprecated == true) { in <lambda>()
1016 if (hiddenClass.qualifiedName() == t.asClass()?.qualifiedName()) { in <lambda>()
1034 …if (t != null && !t.primitive && !m.deprecated && !cl.deprecated && t.asClass()?.deprecated == tru… in <lambda>()
1052 if (t.asClass()?.deprecated == true) { in <lambda>()
[all …]
DApiLint.kt1453 builtType?.asClass()?.let { builtClass -> in <lambda>()
1599 type.asClass()?.containingPackage() in <lambda>()
1745 when (type.asClass()?.qualifiedName()) { in <lambda>()
1783 val typeAsClass = type.asClass() ?: return in <lambda>()
1959 type.asClass()?.qualifiedName() == "java.util.BitSet" in <lambda>()
1995 if (method.returnType()?.asClass() == cls) { in <lambda>()
2098 val qualifiedName = type.asClass()?.qualifiedName() ?: return in <lambda>()
3144 val component = type.asClass()?.simpleName() ?: "" in <lambda>()
DCompatibilityCheck.kt233 val qualifiedName = iface.asClass()?.qualifiedName() ?: continue in compare()
242 val qualifiedName = iface.asClass()?.qualifiedName() ?: continue in compare()
374 val oldClass = oldReturnType.asClass() in compare()
DSignatureWriter.kt204 context = superClass.asClass(), in <lambda>()
256 context = item.asClass(), in <lambda>()
DProguardWriter.kt130 val cls = t.asClass() ?: return t.toCanonicalType() in getCleanTypeName()
DKotlinInteropChecks.kt336 val cls = type.asClass() ?: return false in <lambda>()
DJDiffXmlWriter.kt305 context = superClass.asClass() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt136 val cls = it.asClass() in <lambda>()
334 val owner = itf.asClass() in <lambda>()
413 val cls = itf.asClass() ?: continue in <lambda>()
459 val cls = itf.asClass() ?: continue in <lambda>()
489 val cls = itf.asClass() ?: continue in <lambda>()
555 val superClass = superClassType.asClass() ?: return null in <lambda>()
692 val superClass = superClassType.asClass() in <lambda>()
705 val cls = type.asClass() ?: continue in <lambda>()
DTypeItem.kt76 fun asClass(): ClassItem? in <lambda>() method
248 val cls1 = type1.asClass() in <lambda>()
249 val cls2 = type2.asClass() in <lambda>()
DMethodItem.kt485 val clz = type.asClass() ?: continue in <lambda>()
493 val returnTypeClass = returnType.asClass() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt66 private var asClass: PsiClassItem? = null variable in com.android.tools.metalava.model.psi.PsiTypeItem
213 override fun asClass(): PsiClassItem? { in asClass() method in com.android.tools.metalava.model.psi.PsiTypeItem
217 if (asClass == null) { in asClass()
218 asClass = codebase.findClass(psiType) in asClass()
220 return asClass in asClass()
224 val cls = asClass() ?: return null in asTypeParameter()
DPsiClassItem.kt247 this.superClass = type.asClass() in <lambda>()
252 this.superClass = this.superClassType?.asClass() in <lambda>()
265 … type.asClass() // ensure that we initialize classes eagerly too such that they're registered etc in <lambda>()
DPsiTypeParameterItem.kt58 … refs.mapNotNull { PsiTypeItem.create(codebase, it).asClass() }.filter { !it.isJavaLangObject() } in finishInitialization()
DPsiParameterItem.kt58 "kotlin.coroutines.Continuation" == type.asClass()?.qualifiedName() && in name()
DPsiMethodItem.kt191 val exceptionClass = codebase.getType(type).asClass() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/
DAddApisFromCodebase.kt64 val interfaceClass = interfaceType.asClass() ?: return in addApisFromCodebase()
119 val interfaceClass = interfaceType.asClass() ?: return in addApisFromCodebase()
/tools/metalava/src/main/java/com/android/tools/metalava/stub/
DKotlinStubWriter.kt147 val s = superClass.asClass() in <lambda>()
DJavaStubWriter.kt190 val s = superClass.asClass() in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextClassItem.kt73 return interfaceTypes.asSequence().map { it.asClass() }.filterNotNull() in interfaceTypes()
DTextTypeItem.kt83 override fun asClass(): ClassItem? { in asClass() method in com.android.tools.metalava.model.text.TextTypeItem