Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for sheugh (0.05 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtExpressionInfoProvider.kt

         *   - `run { x; println(50) }`
         *   - `when (x) { else -> ... }`
         *
         * **Note!** This is a conservative check, not a control-flow analysis.
         * E.g. `x` in the following example *is possibly used*, even though the
         * value is never consumed at runtime.
         *   - `x + try { throw Exception() } finally { return }`
         *
         */
        public fun KtExpression.isUsedAsExpression(): Boolean =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10PsiTypeProvider.kt

            }.let { typeMappingMode ->
                // Otherwise, i.e., if we won't skip type with no type arguments, flag overriding might bother a case like:
                // @JvmSuppressWildcards(false) Long -> java.lang.Long, not long, even though it should be no-op!
                if (type.fe10Type.arguments.isEmpty())
                    typeMappingMode
                else
                    typeMappingMode.updateArgumentModeFromAnnotations(
                        type.fe10Type,
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirKotlinPropertySymbol.kt

                firSymbol.backingFieldSymbol?.let { builder.callableBuilder.buildBackingFieldSymbol(it) }
            }
    
        // NB: `field` in accessors indicates the property should have a backing field. To see that, though, we need BODY_RESOLVE.
        override val hasBackingField: Boolean
            get() = withValidityAssertion {
                firSymbol.lazyResolveToPhase(FirResolvePhase.BODY_RESOLVE)
                firSymbol.fir.hasBackingField
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

            // Enum constructors are represented without name/ordinal in light classes, which seems fine because they don't have name/ordinal
            // in Java sources as well, even though the parameters are there in the bytecode. Since metadata stores JVM signatures, we're
            // adding the name/ordinal parameters manually.
            append("Ljava/lang/String;")
            append("I")
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  5. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                    // e.g., "/path/to/jdk/home!/modules/java.base/java/lang/Object.class". (JDK home path + JAR separator + actual file path)
                    // URLs loaded from JDK, though, point to module names in a JRT protocol format,
                    // e.g., "jrt:///path/to/jdk/home!/java.base" (JRT protocol prefix + JDK home path + JAR separator + module name)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirPsiTypeProvider.kt

                // Otherwise, i.e., if we won't skip type with no type arguments, flag overriding might bother a case like:
                // @JvmSuppressWildcards(false) Long -> java.lang.Long, not long, even though it should be no-op!
                if (expandedType.typeArguments.isEmpty())
                    typeMappingMode
                else
                    typeMappingMode.updateArgumentModeFromAnnotations(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 20:26:34 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSessionProvider.kt

                // Nevertheless, a `KaFirSession`'s validity is based on the underlying `LLFirSession`, so removed analysis sessions for
                // library modules might still be valid. This is not a problem, though, because analysis session caching is not required for
                // correctness, but rather a performance optimization.
                analysisSessionProvider.clearCaches()
            }
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top