Home
last modified time | relevance | path

Searched refs:sourcePsi (Results 1 – 5 of 5) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DKotlinInteropChecks.kt133 val sourcePsi = psi.sourcePsi in <lambda>() constant
134 if (sourcePsi is KtProperty) { in <lambda>()
135 val companionClassName = sourcePsi.containingClassOrObject?.name in <lambda>()
152 } else if (sourcePsi is KtObjectDeclaration && sourcePsi.isCompanion()) { in <lambda>()
157 val ktProperties = sourcePsi.declarations.filter { declaration -> in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiPropertyItem.kt52 p.sourcePsi as? PsiClass ?: return false in type()
DPsiFieldItem.kt72 p.sourcePsi as? PsiClass ?: return false in isEnumConstant()
DPsiParameterItem.kt83 … ((containingMethod.psiMethod as? KotlinUMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in isReceiver()
DPsiItem.kt83 (element.sourcePsi ?: element.javaPsi) is PsiCompiledElement in psi()