Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for TODO (0.16 sec)

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

            analysisSession: KtFirAnalysisSession,
            private val firSession: FirSession,
        ) {
            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
    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)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt

                        classId?.takeUnless { it.shortClassName.isSpecial }
                            ?.asFqNameString()
                    }
                }
            }
        }
    
        // TODO this is a dummy and incorrect implementation just to satisfy some tests
        override fun getContainingModule(symbol: KtSymbol): KtModule {
            val descriptor = when (symbol) {
                is KtValueParameterSymbol -> {
    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)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirSyntheticFunctionInterfaceSourceProvider.kt

    import org.jetbrains.kotlin.name.ClassId
    import org.jetbrains.kotlin.name.FqName
    import org.jetbrains.kotlin.name.Name
    import org.jetbrains.kotlin.name.StandardClassIds
    import org.jetbrains.kotlin.psi.KtClassOrObject
    
    //todo introduce LibraryModificationTracker based cache?
    internal object FirSyntheticFunctionInterfaceSourceProvider {
        fun findPsi(fir: FirDeclaration): PsiElement? {
            return when (fir) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 02 14:27:26 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // When you call a method from Java with type arguments, in FIR they are currently represented as flexible types.
            // TODO Consider handling other non-ConeLookupTagBasedType types here (see KT-66418)
            val type = getDeclaredType()?.lowerBoundIfFlexible() as? ConeLookupTagBasedType
    
            return type?.toTargetSymbol(session, symbolBuilder) ?: run {
    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-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ScopeSubstitution.kt

    internal class KtFe10ScopeSubstitution(
        override val analysisSession: KtFe10AnalysisSession,
    ) : KtScopeSubstitution(), Fe10KtAnalysisSessionComponent {
    
        override fun getDeclarationScope(scope: KtTypeScope): KtScope {
            TODO()
        }
    Plain Text
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Wed Jun 22 07:31:42 GMT 2022
    - 888 bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KtFirDestructuringDeclarationReference.kt

    class KtFirDestructuringDeclarationReference(
        element: KtDestructuringDeclarationEntry
    ) : KtDestructuringDeclarationReference(element), KtFirReference {
        override fun canRename(): Boolean = false //todo
    
        override fun KtAnalysisSession.resolveToSymbols(): Collection<KtSymbol> {
            check(this is KtFirAnalysisSession)
            val fir = expression.getOrBuildFirSafe<FirProperty>(firResolveSession) ?: return emptyList()
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu May 05 08:43:13 GMT 2022
    - 1.6K bytes
    - Viewed (0)
  7. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompileTimeConstantProvider.kt

            val constant = ConstantExpressionEvaluator.getPossiblyErrorConstant(expression, bindingContext)
            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
            }
    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)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirSimpleNameReference.kt

                        }
                    else -> listOfNotNull(symbol.psi)
                }
            }
        }
    
        override fun canBeReferenceTo(candidateTarget: PsiElement): Boolean {
            return true // TODO
        }
    
        // Extension point used for deprecated Android Extensions. Not going to implement for FIR.
        override fun isReferenceToViaExtension(element: PsiElement): Boolean {
            return false
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Nov 02 21:23:43 GMT 2023
    - 5K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

                is FirPackageMemberScope -> createPackageScope(firScope.fqName)
                is FirContainingNamesAwareScope -> KtFirDelegatingNamesAwareScope(firScope, builder)
                else -> TODO(firScope::class.toString())
            }
        }
    
        private fun getScopeKind(firScope: FirScope, indexInTower: Int): KtScopeKind = when (firScope) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                    is FirValueParameterSymbol -> buildValueParameterSymbol(firSymbol)
                    is FirFieldSymbol -> buildFieldSymbol(firSymbol)
                    is FirEnumEntrySymbol -> buildEnumEntrySymbol(firSymbol) // TODO enum entry should not be callable
                    is FirBackingFieldSymbol -> buildBackingFieldSymbol(firSymbol)
                    is FirErrorPropertySymbol -> buildErrorVariableSymbol(firSymbol)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Mar 28 09:06:28 GMT 2024
    - 32.4K bytes
    - Viewed (0)
Back to top