Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 396 for if (0.08 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/session/AbstractSessionInvalidationTest.kt

         */
        protected abstract val modificationEventKind: KotlinModificationEventKind
    
        /**
         * A suffix for the result file to distinguish it from the results of other session invalidation tests if the results are different.
         */
        protected abstract val resultFileSuffix: String?
    
        protected abstract fun getSession(ktModule: KtModule): SESSION
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirType.kt

    import org.jetbrains.kotlin.fir.types.ConeNullability
    
    internal interface KaFirType : KaLifetimeOwner {
        val coneType: ConeKotlinType
    }
    
    internal fun KaFirType.typeEquals(other: Any?): Boolean {
        if (other !is KaFirType) return false
        return this.coneType == other.coneType
    }
    
    internal fun KaFirType.typeHashcode(): Int = coneType.hashCode()
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceResolveProvider.kt

        override val analysisSession: KaFirSession,
    ) : KaReferenceResolveProvider(), KaFirSessionComponent {
        override fun isImplicitReferenceToCompanion(reference: KtReference): Boolean {
            if (reference !is KtSimpleNameReference) {
                return false
            }
            val referenceElement = reference.element
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 08:30:49 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/resolve/extensions/KtResolveExtensionNavigationTargetsProvider.kt

        /**
         * Provides a [PsiElement] which will be opened on a navigation request for [element].
         *
         * Usually returns a single result. Might return an empty collection if there is no navigation target.
         * Also, might multiple targets in a case of ambiguity or multiple targets for a [symbol]
         *
         * Returned [PsiElement] will be used as a navigation target inside the IDE.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtKlibSourceFileNameProvider.kt

    }
    
    @KaAnalysisNonPublicApi
    public typealias KtKlibSourceFileNameProvider = KaKlibSourceFileNameProvider
    
    @KaAnalysisNonPublicApi
    public interface KaKlibSourceFileProviderMixIn : KaSessionMixIn {
        /**
         * If [KtDeclaration] is a deserialized, klib based symbol, then information about the original
         * [SourceFile] might be retained.
         */
        public fun KaDeclarationSymbol.getKlibSourceFileName(): String? =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/java/source/JavaElementPsiSourceWithSmartPointer.kt

        override val psi: PSI
            get() {
                return pointer.element
                    ?: error("Cannot restore a PsiElement from $pointer")
            }
    
        override fun equals(other: Any?): Boolean {
            return if (other === this) true else other is JavaElementPsiSourceWithSmartPointer<*> && originalPsi == other.originalPsi
        }
    
        override fun hashCode(): Int = originalPsi.hashCode()
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 22 14:14:18 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubstitutorFactory.kt

    internal class KaFirSubstitutorFactory(
        override val analysisSession: KaFirSession
    ) : KaSubstitutorFactory(), KaFirSessionComponent {
    
        override fun buildSubstitutor(builder: KaSubstitutorBuilder): KaSubstitutor {
            if (builder.mappings.isEmpty()) return KaSubstitutor.Empty(token)
    
            val firSubstitution = buildMap {
                builder.mappings.forEach { (ktTypeParameterSymbol, ktType) ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMultiplatformInfoProvider.kt

        override fun getExpectForActual(actual: KaDeclarationSymbol): List<KaDeclarationSymbol> {
            require(actual is KaFirSymbol<*>)
            val firSymbol = actual.firSymbol
            if (firSymbol !is FirCallableSymbol && firSymbol !is FirClassSymbol && firSymbol !is FirTypeAliasSymbol) {
                return emptyList()
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. analysis/analysis-api-impl-barebone/tests/org/jetbrains/kotlin/analysis/api/impl/barebone/test/AbstractCompilerBasedTest.kt

        }
    
        protected fun ignoreTest(filePath: String, configuration: TestConfiguration): Boolean {
            val modules = configuration.moduleStructureExtractor.splitTestDataByModules(filePath, configuration.directives)
    
            if (modules.modules.none { it.files.any { it.isKtFile } }) {
                return true // nothing to highlight
            }
    
            return shouldSkipTest(filePath, configuration)
        }
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Oct 24 10:30:55 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/callables/KtFunctionSymbolRenderer.kt

                declarationRenderer: KaDeclarationRenderer,
                printer: PrettyPrinter,
            ) {
                printer {
                    val receiverSymbol = symbol.receiverParameter
                    if (receiverSymbol != null) {
                        withSuffix(".") {
                            declarationRenderer.callableReceiverRenderer
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top