Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for annotationTypeRef (0.18 sec)

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

        checkWithAttachment(annotation.resolved, { "By now the annotations argument mapping should have been resolved" }) {
            withFirEntry("annotation", annotation)
            withClassEntry("annotationTypeRef", annotation.annotationTypeRef)
            @OptIn(UnresolvedExpressionTypeAccess::class)
            withClassEntry("coneTypeOrNull", annotation.coneTypeOrNull)
            @OptIn(UnsafeExpressionUtility::class)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeProvider.kt

                    }
    
                    fun FirMemberDeclaration.findAnnotationTypeRef(annotationEntry: KtAnnotationEntry) = annotations.find {
                        it.psi === annotationEntry
                    }?.annotationTypeRef
    
                    val annotationEntry = parent.parent as KtAnnotationEntry
                    val firDeclaration = getFirDeclaration(annotationEntry, this)
                    if (firDeclaration != null) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 20 08:50:04 GMT 2024
    - 16.3K bytes
    - Viewed (0)
Back to top