Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for KtTypeReference (0.19 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/annotations/AbstractAnalysisApiAnnotationsOnTypesTest.kt

            val actual = analyseForTest(ktTypeReference) {
                val ktType = ktTypeReference.getKtType()
                val annotations = ktType.annotations
                buildString {
                    appendLine("${KtTypeReference::class.simpleName}: ${ktTypeReference.text}")
                    appendLine("annotations: [")
                    for (annotation in annotations) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.txt

          PSI: KtNamedFunction at (4,3-21)
      for PSI element of type KtTypeReference at (6,10-11)
        FINAL_SUPERTYPE      text ranges: [(71,72)]
          PSI: KtTypeReference at (6,10-11)
      for PSI element of type KtNamedFunction at (2,1-18)
        NON_MEMBER_FUNCTION_NO_BODY      text ranges: [(11,28)]
          PSI: KtNamedFunction at (2,1-18)
      for PSI element of type KtTypeReference at (6,10-11)
        SUPERTYPE_NOT_INITIALIZED      text ranges: [(71,72)]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 788 bytes
    - Viewed (0)
  3. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/deprecationFromLibrary.txt

          PSI: KtNameReferenceExpression at (87,5-37)
      for PSI element of type KtTypeReference at (67,22-39)
        DEPRECATION      text ranges: [(145,162)]
          PSI: KtTypeReference at (67,22-39)
      for PSI element of type KtTypeReference at (68,26-47)
        DEPRECATION      text ranges: [(189,210)]
          PSI: KtTypeReference at (68,26-47)
      for PSI element of type KtTypeReference at (69,35-65)
        TYPEALIAS_EXPANSION_DEPRECATION      text ranges: [(246,276)]
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:05 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/declarationErrors.descriptors.txt

        ABSTRACT_FUNCTION_IN_NON_ABSTRACT_CLASS      text ranges: [(41,49)]
          PSI: KtNamedFunction at (4,3-21)
      for PSI element of type KtTypeReference at (6,10-11)
        FINAL_SUPERTYPE      text ranges: [(71,72)]
          PSI: KtTypeReference at (6,10-11)
      for PSI element of type KtProperty at (1,1-11)
        MUST_BE_INITIALIZED      text ranges: [(0,10)]
          PSI: KtProperty at (1,1-11)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Dec 09 12:56:52 UTC 2021
    - 924 bytes
    - Viewed (0)
  5. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/typeProvider/AbstractTypeReferenceTest.kt

            val expressionAtCaret = testServices.expressionMarkerProvider.getElementOfTypeAtCaret(mainFile) as KtTypeReference
    
            val actual = analyseForTest(expressionAtCaret) {
                val ktType = expressionAtCaret.getKtType()
                buildString {
                    appendLine("${KtTypeReference::class.simpleName}: ${expressionAtCaret.text}")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirSimpleNameReference.kt

        private val isAnnotationCall: Boolean
            get() {
                val ktUserType = expression.parent as? KtUserType ?: return false
                val ktTypeReference = ktUserType.parent as? KtTypeReference ?: return false
                val ktConstructorCalleeExpression = ktTypeReference.parent as? KtConstructorCalleeExpression ?: return false
                return ktConstructorCalleeExpression.parent is KtAnnotationEntry
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/AbstractStandaloneSessionBuilderAgainstStdlibTest.kt

    import org.jetbrains.kotlin.platform.TargetPlatform
    import org.jetbrains.kotlin.psi.KtCallExpression
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtNamedFunction
    import org.jetbrains.kotlin.psi.KtTypeReference
    import org.jetbrains.kotlin.psi.psiUtil.findDescendantOfType
    import org.junit.jupiter.api.Assertions
    import java.nio.file.Path
    
    @OptIn(KaAnalysisApiInternals::class)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionOnType.txt

    KtTypeReference: @TypeAnnotation List<Int>
    annotations: [
      TypeAnnotation()
        psi: KtAnnotationEntry
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Nov 22 21:46:56 UTC 2021
    - 106 bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithComplexArgumentOnType.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)
  10. analysis/analysis-api/testData/annotations/annotationsOnTypes/annotaionWithLiteralArgumentOnType.txt

    KtTypeReference: @TypeAnnotation(1) List<Int>
    annotations: [
      TypeAnnotation(value = 1)
        psi: KtAnnotationEntry
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Nov 22 21:46:56 UTC 2021
    - 118 bytes
    - Viewed (0)
Back to top