Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for KtTypeReference (0.38 sec)

  1. analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnTypeArgument.txt

    KtTypeReference: @TypeAnnotation(1 + 1) List<Int>
    annotations: [
      TypeAnnotation(value = 2)
        psi: KtAnnotationEntry
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Nov 22 21:46:56 UTC 2021
    - 122 bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // call entry and if so we resolve the constructor callee expression.
            val userType = expression.parent as? KtUserType ?: return expression
            val typeReference = userType.parent as? KtTypeReference ?: return expression
            val constructorCalleeExpression = typeReference.parent as? KtConstructorCalleeExpression ?: return expression
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

    ) : KaExpressionTypeProvider(), KaFe10SessionComponent {
        private companion object {
            val NON_EXPRESSION_CONTAINERS = arrayOf(
                KtImportDirective::class.java,
                KtTypeReference::class.java,
                KtPackageDirective::class.java,
                KtLabelReferenceExpression::class.java
            )
        }
    
        override val token: KaLifetimeToken
            get() = analysisSession.token
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                if (!typeRef.isPresentInSource) return null
    
                val wholeClassId = typeRef.resolvedClassId ?: return null
                val psi = typeRef.psi as? KtTypeReference ?: return null
    
                val wholeUserType = psi.typeElement?.unwrapNullability() as? KtUserType ?: return null
    
                return KtUserTypeQualifier(wholeClassId, wholeUserType)
            }
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

         * (see [KtFakeSourceElementKind.ArrayTypeFromVarargParameter]).
         * - if FIR reference points to the type with generic parameters (like `Foo<Bar>`), its source is not [KtTypeReference], but
         * [KtNameReferenceExpression].
         */
        private val FirResolvedTypeRef.correspondingTypePsi: KtUserType?
            get() {
                val sourcePsi = when {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

    import org.jetbrains.kotlin.psi.KtSuperExpression
    import org.jetbrains.kotlin.psi.KtTypeAlias
    import org.jetbrains.kotlin.psi.KtTypeParameter
    import org.jetbrains.kotlin.psi.KtTypeProjection
    import org.jetbrains.kotlin.psi.KtTypeReference
    import org.jetbrains.kotlin.psi.KtValueArgument
    import org.jetbrains.kotlin.psi.KtVariableDeclaration
    import org.jetbrains.kotlin.psi.KtWhenCondition
    import org.jetbrains.kotlin.psi.KtWhenEntry
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 210.1K bytes
    - Viewed (0)
Back to top