Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Chaves (0.21 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt

    /**
     * Finds [PsiElement] which will be used as go-to referenced element for [KtPsiReference]
     * For data classes & enums generated members like `copy` `componentN`, `values` it will return corresponding enum/data class
     * Otherwise, behaves the same way as [findPsi] returns exact PSI declaration corresponding to passed [FirDeclaration]
     */
    fun FirDeclaration.findReferencePsi(): PsiElement? {
        return if (this is FirCallableDeclaration) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 22 16:46:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
Back to top