Searched refs:sourcePsi (Results 1 – 14 of 14) sorted by relevance
178 when (val sourcePsi = (context as? UElement)?.sourcePsi) { in <lambda>() method179 is KtElement -> fromKtElement(sourcePsi, context) in <lambda>()260 return when (val sourcePsi = containingMethod.sourcePsi) { in <lambda>() constant271 fromKtElement(sourcePsi, context) in <lambda>()276 typeFromKtClass(parameterIndex, containingMethod, sourcePsi) in <lambda>()280 sourcePsi.isSuspend() && in <lambda>()285 analyze(sourcePsi) { in <lambda>()286 val returnKtType = sourcePsi.getReturnKtType() in <lambda>()287 syntheticContinuationParameter(sourcePsi, returnKtType) in <lambda>()292 analyze(sourcePsi) { in <lambda>()[all …]
102 when (val sourcePsi = getter.sourcePsi) { in <lambda>() constant104 javadoc(sourcePsi.property, codebase.allowReadingComments) in <lambda>()105 else -> javadoc(sourcePsi ?: psiMethod, codebase.allowReadingComments) in <lambda>()112 val ktProperty = (getter.sourcePsi as? KtPropertyAccessor)?.property in <lambda>()
137 ((psiMethod as? UMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in <lambda>()147 (psiMethod.sourcePsi is KtProperty || in <lambda>()148 psiMethod.sourcePsi is KtPropertyAccessor || in <lambda>()149 psiMethod.sourcePsi is KtParameter && in <lambda>()150 (psiMethod.sourcePsi as KtParameter).hasValOrVar()) in <lambda>()268 val ktFunction = (psiMethod as? UMethod)?.sourcePsi as? KtFunction ?: return false in <lambda>()296 psiMethod.sourcePsi in <lambda>()
182 return ((element as? UElement)?.sourcePsi as? KtAnnotated)?.annotationEntries?.any { in <lambda>()220 val sourcePsi = (element as? UElement)?.sourcePsi in <lambda>() constant226 if (sourcePsi is KtModifierListOwner) { in <lambda>()227 ktModifierList = sourcePsi.modifierList in <lambda>()263 sourcePsi is KtElement in <lambda>()268 analyze(sourcePsi) { in <lambda>()269 val symbol = (sourcePsi as? KtDeclaration)?.getSymbol() in <lambda>()295 val func = sourcePsi as? KtNamedFunction in <lambda>()
473 ?.filter { (it.sourcePsi as? KtParameter)?.isPropertyParameter() ?: false } in <lambda>()480 when (val sourcePsi = method.sourcePsi) { in <lambda>() constant481 is KtProperty -> sourcePsi.name in <lambda>()482 is KtPropertyAccessor -> sourcePsi.property.name in <lambda>()483 is KtParameter -> sourcePsi.name in <lambda>()562 it.sourcePsi as KtTypeReference in <lambda>()647 if (psiClass is UClass && psiClass.sourcePsi == null) { in <lambda>()
189 ((containingMethod.psiMethod as? UMethod)?.sourcePsi as? KtFunction) in computeDefaultValue()292 val parameter = (psi() as? UParameter)?.sourcePsi as? KtParameter ?: return false in isSamCompatibleOrKotlinLambda()321 psiParameter.sourcePsi is KtParameter && in create()325 val ktParameter = psiParameter.sourcePsi as KtParameter in create()
145 get() = sourcePsi is KtPrimaryConstructor || sourcePsi is KtClassOrObject in isImplicitConstructor()
236 sb.append(value.sourcePsi?.text ?: value.asSourceString()) in appendValue()272 sb.append(value.sourcePsi?.text ?: value.asSourceString()) in appendQualifiedName()351 return element.sourcePsi?.text ?: element.asSourceString() in getText()
103 val sourceElement = (psiElement as? UElement)?.sourcePsi ?: psiElement in ensureInitialized()139 range = element.sourcePsi?.textRange in getTextRange()
54 internal val sourcePsi: PsiElement? = (element as? UElement)?.sourcePsi constant
80 warning(message, uElement.sourcePsi ?: uElement.javaPsi) in warning()
150 val sourcePsi = psi.sourcePsi in <lambda>() constant151 if (sourcePsi is KtProperty) { in <lambda>()152 val companionClassName = sourcePsi.containingClassOrObject?.name in <lambda>()172 } else if (sourcePsi is KtObjectDeclaration && sourcePsi.isCompanion()) { in <lambda>()179 sourcePsi.declarations.filter { declaration -> in <lambda>()
477 val nestedPsi = expression.sourcePsi as? PsiAnnotation in <lambda>()484 expression is UastEmptyExpression && attributes[0].sourcePsi is PsiNameValuePair in <lambda>()486 val memberValue = (attributes[0].sourcePsi as PsiNameValuePair).value in <lambda>()
23 val method = node.sourcePsi as? PsiMethod ?: return in getApplicableUastTypes()