Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toTypeMappingMode (0.22 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

                useSitePosition,
                mode.toTypeMappingMode(type, isAnnotationMethod, suppressWildcards),
            )
    
            val psiType = typeElement?.type ?: return null
            if (!preserveAnnotations) return psiType
    
            return annotateByKotlinType(psiType, kotlinType, typeElement, inferNullability = true)
        }
    
        private fun KtTypeMappingMode.toTypeMappingMode(
            type: KtType,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 16:10:07 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

            val typeElement = coneType.simplifyType(rootModuleSession, useSitePosition).asPsiTypeElement(
                session = rootModuleSession,
                mode = mode.toTypeMappingMode(type, isAnnotationMethod, suppressWildcards),
                useSitePosition = useSitePosition,
                allowErrorTypes = allowErrorTypes,
            ) ?: return null
    
            val psiType = typeElement.type
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 12 13:29:57 GMT 2024
    - 18.6K bytes
    - Viewed (0)
Back to top