Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for KaConstantAnnotationValue (0.47 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

     * E.g: `@A(1 +2, "a" + "b")` -- both arguments here are [KaConstantAnnotationValue]
     * @see [KaConstantValue]
     */
    public class KaConstantAnnotationValue @KaAnalysisApiInternals constructor(
        constantValue: KaConstantValue,
        token: KaLifetimeToken
    ) : KaAnnotationValue(token) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValueRenderer.kt

                    renderArrayConstantValue(value)
                }
                is KaEnumEntryAnnotationValue -> {
                    renderEnumEntryConstantValue(value)
                }
                is KaConstantAnnotationValue -> {
                    renderConstantAnnotationValue(value)
                }
                is KaUnsupportedAnnotationValue -> {
                    append("error(\"non-annotation value\")")
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/signatures/KtVariableLikeSignature.kt

     */
    
    package org.jetbrains.kotlin.analysis.api.signatures
    
    import org.jetbrains.kotlin.analysis.api.annotations.KaAnnotation
    import org.jetbrains.kotlin.analysis.api.annotations.KaConstantAnnotationValue
    import org.jetbrains.kotlin.analysis.api.annotations.annotationsByClassId
    import org.jetbrains.kotlin.analysis.api.lifetime.withValidityAssertion
    import org.jetbrains.kotlin.analysis.api.symbols.KaVariableLikeSymbol
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirAnnotationValueConverter.kt

                analysisSession.token
            )
        }
    
        private fun FirLiteralExpression.convertConstantExpression(
            analysisSession: KaSession
        ): KaConstantAnnotationValue? {
            val expression = psi as? KtElement
    
            @OptIn(UnresolvedExpressionTypeAccess::class)
            val type = coneTypeOrNull
            val constantValue = when {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10DebugTypeRenderer.kt

                    }
                }
    
                is KaEnumEntryAnnotationValue -> {
                    printer.append(value.callableId?.asSingleFqName()?.render())
                }
    
                is KaConstantAnnotationValue -> {
                    printer.append(value.constantValue.constantValueKind.asString)
                        .append("(")
                        .append(value.constantValue.value.toString())
                        .append(")")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

                        constructorSymbol = null,
                        token = token
                    ),
                    token
                )
            }
            else -> {
                KaConstantAnnotationValue(toKtConstantValue(), token)
            }
        }
    }
    
    private class ClassLiteralResolutionResult(val type: KaType, val classId: ClassId)
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top