Home
last modified time | relevance | path

Searched refs:forPsi (Results 1 – 3 of 3) sorted by relevance

/external/dokka/core/src/main/kotlin/Kotlin/
DKotlinElementSignatureProvider.kt15 override fun signature(forPsi: PsiElement): String { in signature()
16 return forPsi.extractDescriptor(resolutionFacade) in signature()
18 ?: run { "no desc for $forPsi in ${(forPsi as? PsiMember)?.containingClass}" } in signature()
26 val forPsi = this in signature() constant
28 return when (forPsi) { in signature()
29 … is KtLightElement<*, *> -> return (forPsi.kotlinOrigin!!).extractDescriptor(resolutionFacade) in signature()
30 is PsiPackage -> resolutionFacade.moduleDescriptor.getPackage(FqName(forPsi.qualifiedName)) in signature()
31 is PsiMember -> forPsi.getJavaOrKotlinMemberDescriptor(resolutionFacade) in signature()
32 …-> resolutionFacade.resolveSession.bindingContext[BindingContext.DECLARATION_TO_DESCRIPTOR, forPsi] in signature()
DKotlinAsJavaElementSignatureProvider.kt15 override fun signature(forPsi: PsiElement): String { in signature()
16 return getSignature(forPsi.javaLikePsi()) ?: in signature()
17 "not implemented for $forPsi" in signature()
/external/dokka/core/src/main/kotlin/Model/
DElementSignatureProvider.kt8 fun signature(forPsi: PsiElement): String