Searched refs:sourcePsi (Results 1 – 13 of 13) sorted by relevance
131 val sourcePsi = psi.sourcePsi in ensureCompanionFieldJvmField() constant132 if (sourcePsi is KtProperty) { in ensureCompanionFieldJvmField()133 val companionClassName = sourcePsi.containingClassOrObject?.name in ensureCompanionFieldJvmField()
354 Errors.ANNOTATION_EXTRACTION, annotation.sourcePsi, in <lambda>()547 … } else if (expression is UastEmptyExpression && attributes[0].sourcePsi is PsiNameValuePair) { in <lambda>()548 val memberValue = (attributes[0].sourcePsi as PsiNameValuePair).value in <lambda>()
1023 reportError(method, arg.sourcePsi ?: node.sourcePsi ?: node.javaPsi) in <lambda>()
193 sb.append(value.sourcePsi?.text ?: value.asSourceString()) in appendValue()230 sb.append(value.sourcePsi?.text ?: value.asSourceString()) in appendValue()325 return element.sourcePsi?.text ?: element.asSourceString() in toSource()
505 val sourcePsi = method.sourcePsi in <lambda>() constant506 if (sourcePsi is KtProperty) { in <lambda>()510 val name = sourcePsi.name ?: continue in <lambda>()
149 p.sourcePsi as? PsiClass ?: return false in <lambda>()160 ((psiMethod as? KotlinUMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in <lambda>()169 return psiMethod is KotlinUMethod && psiMethod.sourcePsi is KtProperty in <lambda>()
52 p.sourcePsi as? PsiClass ?: return false in type()
72 p.sourcePsi as? PsiClass ?: return false in isEnumConstant()
63 (element.sourcePsi ?: element.javaPsi) is PsiCompiledElement in psi()
79 … ((containingMethod.psiMethod as? KotlinUMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in getKtParameter()
133 … ((element as? UMethod)?.sourcePsi as? KtNamedFunction)?.typeParameterList?.text ?: "" in computeFlag()
73 warning(message, uElement.sourcePsi ?: uElement.javaPsi) in warning()
866 val psi = node.sourcePsi in <lambda>()