Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for across (0.16 sec)

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

                        importAllInParent
                    )
                }
                // The class with name `classId.shortClassName` happens to be the same class referenced by this qualified access.
                availableClassifier.symbol.classIdIfExists == qualifierClassId -> {
                    // Respect caller's request to use star import, if it's not already star-imported.
                    return when {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDataClassConverters.kt

        }
        add(FirErrors.CANNOT_WEAKEN_ACCESS_PRIVILEGE) { firDiagnostic ->
            CannotWeakenAccessPrivilegeImpl(
                firDiagnostic.a,
                firSymbolBuilder.callableBuilder.buildCallableSymbol(firDiagnostic.b),
                firDiagnostic.c,
                firDiagnostic as KtPsiDiagnostic,
                token,
            )
        }
        add(FirErrors.CANNOT_WEAKEN_ACCESS_PRIVILEGE_WARNING) { firDiagnostic ->
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Apr 24 09:49:26 GMT 2024
    - 208.3K bytes
    - Viewed (0)
  3. ChangeLog.md

    - [`KT-59365`](https://youtrack.jetbrains.com/issue/KT-59365) Get rid of two-stage parsing in KotlinClassMetadata
    - [`KT-35116`](https://youtrack.jetbrains.com/issue/KT-35116) Enum.valueOf throws inconsistent exception across multiple platforms
    - [`KT-59223`](https://youtrack.jetbrains.com/issue/KT-59223) Native Enum.hashCode should return identity hash code, similar to JVM
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Thu Dec 21 17:48:12 GMT 2023
    - 268.7K bytes
    - Viewed (1)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // When the source of an `FirResolvedQualifier` is a KtDotQualifiedExpression, we need to manually break up the qualified access and
            // resolve individual parts of it because in FIR, the entire qualified access is one element.
            if (referencedClass.isLocal) {
                // TODO: handle local classes after KT-47135 is fixed
                return referencedSymbolsByFir
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 15 10:59:01 GMT 2024
    - 37.5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSamResolver.kt

        ) {
            private val scopeSession = analysisSession.getScopeSessionFor(firSession)
    
    
            // TODO: This transformer is not intended for actual transformations and
            //  created here only to simplify access to SAM resolver in body resolve components
            private val stubBodyResolveTransformer = object : FirBodyResolveTransformer(
                session = firSession,
                phase = FirResolvePhase.BODY_RESOLVE,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu May 12 14:15:14 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                // and the only FIR that we have for that PSI is an implicit invoke call, that means that
                // `Foo.Bar` is definitely not a property access - otherwise it would have had its own FIR.
                // So, it does not make sense to try to resolve such parts of qualifiers as KtCall
                if ((psi as? KtExpression)?.getPossiblyQualifiedCallExpression() == null) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/ValidityAwareCachedValue.kt

    import org.jetbrains.kotlin.analysis.api.lifetime.assertIsValidAndAccessible
    import kotlin.properties.ReadOnlyProperty
    import kotlin.reflect.KProperty
    
    /**
     * Lazy value that guaranties safe publication and checks validity on every access
     */
    internal class ValidityAwareCachedValue<T>(
        private val token: KtLifetimeToken,
        init: () -> T
    ) : ReadOnlyProperty<Any, T> {
        private val lazyValue = lazy(LazyThreadSafetyMode.PUBLICATION, init)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Aug 15 09:04:58 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompileTimeConstantProvider.kt

            if (mode == KtConstantEvaluationMode.CONSTANT_EXPRESSION_EVALUATION) {
                // TODO: how to _not_ evaluate expressions with a compilation error, e.g., uninitialized property access
                if (constant?.usesNonConstValAsConstant == true) return null
            }
            return constant?.toConstantValue(TypeUtils.NO_EXPECTED_TYPE)?.toKtConstantValue()
        }
    
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Tue Mar 28 08:17:37 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolInfoProvider.kt

            // Check the simple names of the Java annotations. While presence of such an annotation name does not prove deprecation, it is a
            // necessary condition for it. Type aliases are not a problem here: Java code cannot access Kotlin type aliases. (Currently,
            // deprecation annotation type aliases do not work in Kotlin, either, but this might change in the future.)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Sep 19 22:14:09 GMT 2023
    - 7.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

             * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined
             * getter/setter) then this method is not used at all. Instead
             * [org.jetbrains.kotlin.backend.jvm.lower.ReflectiveAccessLowering.visitGetField] (or visitSetField) generates the access without
             * asking.
             */
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
Back to top