Searched refs:sourcePsi (Results 1 – 17 of 17) sorted by relevance
89 return ((element as? UElement)?.sourcePsi as? KtAnnotated)?.annotationEntries?.any { in <lambda>()130 val sourcePsi = (element as? UElement)?.sourcePsi in <lambda>() constant134 if (sourcePsi is KtModifierListOwner) { in <lambda>()135 ktModifierList = sourcePsi.modifierList in <lambda>()158 sourcePsi is KtElement in <lambda>()163 val descriptor = codebase.bindingContext(sourcePsi) in <lambda>()164 .get(BindingContext.DECLARATION_TO_DESCRIPTOR, sourcePsi) in <lambda>()194 val func = sourcePsi as? KtNamedFunction in <lambda>()
57 p.sourcePsi as? PsiClass ?: return false in type()109 val documentation = when (val sourcePsi = getter.sourcePsi) { in toString() constant110 is KtPropertyAccessor -> javadoc(sourcePsi.property) in toString()111 else -> javadoc(sourcePsi ?: psiMethod) in toString()
159 p.sourcePsi as? PsiClass ?: return false in <lambda>()170 ((psiMethod as? UMethod)?.sourcePsi as? KtNamedFunction)?.valueParameters in <lambda>()180 psiMethod.sourcePsi is KtProperty || in <lambda>()181 psiMethod.sourcePsi is KtPropertyAccessor || in <lambda>()182 … psiMethod.sourcePsi is KtParameter && (psiMethod.sourcePsi as KtParameter).hasValOrVar() in <lambda>()
562 ?.filter { (it.sourcePsi as? KtParameter)?.isPropertyParameter() ?: false } in <lambda>()568 val name = when (val sourcePsi = method.sourcePsi) { in <lambda>() constant569 is KtProperty -> sourcePsi.name in <lambda>()570 is KtPropertyAccessor -> sourcePsi.property.name in <lambda>()571 is KtParameter -> sourcePsi.name in <lambda>()649 if (psiClass is UClass && psiClass.sourcePsi == null) { in <lambda>()
212 sb.append(value.sourcePsi?.text ?: value.asSourceString()) in <lambda>()246 sb.append(value.sourcePsi?.text ?: value.asSourceString()) in <lambda>()349 return element.sourcePsi?.text ?: element.asSourceString() in toSource()
165 get() = sourcePsi is KtPrimaryConstructor || sourcePsi is KtClassOrObject
52 val sourcePsi: PsiElement? = (element as? UElement)?.sourcePsi constant in com.android.tools.metalava.model.psi.PsiItem
75 p.sourcePsi as? PsiClass ?: return false in isEnumConstant()
103 ((containingMethod.psiMethod as? UMethod)?.sourcePsi as? KtFunction)?.valueParameters in isReceiver()
74 warning(message, uElement.sourcePsi ?: uElement.javaPsi) in warning()
137 val sourcePsi = psi.sourcePsi in <lambda>() constant138 if (sourcePsi is KtProperty) { in <lambda>()139 val companionClassName = sourcePsi.containingClassOrObject?.name in <lambda>()156 } else if (sourcePsi is KtObjectDeclaration && sourcePsi.isCompanion()) { in <lambda>()161 val ktProperties = sourcePsi.declarations.filter { declaration -> in <lambda>()
360 Issues.ANNOTATION_EXTRACTION, annotation.sourcePsi, in <lambda>()557 val nestedPsi = expression.sourcePsi as? PsiAnnotation in <lambda>()562 … } else if (expression is UastEmptyExpression && attributes[0].sourcePsi is PsiNameValuePair) { in <lambda>()563 val memberValue = (attributes[0].sourcePsi as PsiNameValuePair).value in <lambda>()
239 range = element.sourcePsi?.textRange in getTextRange()263 val sourceElement = (element as? UElement)?.sourcePsi ?: element in elementToLocation()
892 reportError(method, arg.sourcePsi ?: node.sourcePsi ?: node.javaPsi) in <lambda>()
542 val sourcePsi = item.psi() in getImplicitNullness() constant543 if (sourcePsi is UElement && sourcePsi.sourcePsi is KtObjectDeclaration) { in getImplicitNullness()
23 val method = node.sourcePsi as? PsiMethod ?: return in getApplicableUastTypes()
873 val psi = node.sourcePsi in <lambda>()