Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for this (0.16 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/fe10SymbolsEquality.kt

    internal fun KtFe10Symbol.isEqualTo(other: Any?): Boolean {
        if (this === other) return true
        if (other !is KtFe10Symbol) return false
        return DescriptorEquivalenceForOverrides.areEquivalent(
            this.getDescriptor(),
            other.getDescriptor(),
            allowCopiesFromTheSameDeclaration = false
        )
    }
    
    internal fun KtFe10Symbol.calculateHashCode(): Int {
        val descriptor = this.getDescriptor()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Nov 11 10:59:57 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/DeclarationsInPackageProvider.kt

     * [declaration provider][org.jetbrains.kotlin.analysis.providers.KotlinDeclarationProvider].
     *
     * Since this fallback is not suitable for symbols from binary libraries in Standalone mode, the symbol names provider absolutely needs to
     * work there. This functionality is covered by package scope tests.
     */
    @OptIn(ExperimentalTopLevelDeclarationsGenerationApi::class)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 23 10:55:55 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

                // is different from the return type of the constructor.
                //
                // TODO: This seems a little indirect. Is there a better way to do this? For FE1.0 there is
                // a special `TypeAliasConstructorDescriptor` for this case. For FIR there is
                // FirConstructor.originalConstructorIfTypeAlias but that doesn't seem to help here as it
    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)
  4. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

            get() {
                return when (this) {
                    is KtValueParameterSymbol -> {
                        getContainingDeclaration(this) as? KtFunctionLikeSymbol ?: this
                    }
                    is KtPropertyAccessorSymbol -> {
                        getContainingDeclaration(this) as? KtPropertySymbol ?: this
                    }
                    is KtBackingFieldSymbol -> this.owningProperty
                    else -> this
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Dec 21 15:34:34 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirAnonymousObjectSymbol.kt

        override fun createPointer(): KtSymbolPointer<KtAnonymousObjectSymbol> = withValidityAssertion {
            KtPsiBasedSymbolPointer.createForSymbolFromSource<KtAnonymousObjectSymbol>(this)?.let { return it }
    
            throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(this::class)
        }
    
        override fun equals(other: Any?): Boolean = symbolEquals(other)
        override fun hashCode(): Int = symbolHashCode()
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirAnonymousFunctionSymbol.kt

        override fun createPointer(): KtSymbolPointer<KtAnonymousFunctionSymbol> = withValidityAssertion {
            KtPsiBasedSymbolPointer.createForSymbolFromSource<KtAnonymousFunctionSymbol>(this)
                ?: throw CanNotCreateSymbolPointerForLocalLibraryDeclarationException(this::class)
        }
    
        override fun equals(other: Any?): Boolean = symbolEquals(other)
        override fun hashCode(): Int = symbolHashCode()
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSamResolver.kt

    /*
     * Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fir.components
    
    import org.jetbrains.kotlin.analysis.api.components.KtSamResolver
    import org.jetbrains.kotlin.analysis.api.fir.KtFirAnalysisSession
    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)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt

                is SimpleType -> {
                    val typeParameterDescriptor = TypeUtils.getTypeParameterDescriptorOrNull(this)
                    if (typeParameterDescriptor != null) {
                        return emptySet()
                    }
    
                    return when (val typeConstructor = this.constructor) {
                        is NewTypeVariableConstructor -> emptySet()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Jan 29 09:37:59 GMT 2024
    - 23.3K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/types/Fe10IdeNormalAnalysisSourceModuleTypeByDeclarationReturnTypeTestGenerated.java

    /*
     * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.types;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 27 20:30:06 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/symbolDeclarationRenderer/Fe10IdeNormalAnalysisSourceModuleSymbolRenderingByReferenceTestGenerated.java

    /*
     * Copyright 2010-2024 JetBrains s.r.o. and Kotlin Programming Language contributors.
     * Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
     */
    
    package org.jetbrains.kotlin.analysis.api.fe10.test.cases.generated.cases.components.symbolDeclarationRenderer;
    
    import com.intellij.testFramework.TestDataPath;
    import org.jetbrains.kotlin.test.util.KtTestUtil;
    import org.jetbrains.annotations.NotNull;
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon Apr 22 12:44:13 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top