- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 491 for callableId (0.14 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
} private fun KaSession.collectSymbolsByFqNameInterpretationAsCallableId( callableId: CallableId, consumer: MutableCollection<KaSymbol>, ) { when (val classId = callableId.classId) { null -> { consumer.addAll(getTopLevelCallableSymbols(callableId.packageName, callableId.callableName)) } else -> {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 22.3K bytes - Viewed (0) -
analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinEmptyDeclarationProvider.kt
override fun getTopLevelProperties(callableId: CallableId): List<KtProperty> = emptyList() override fun getTopLevelFunctions(callableId: CallableId): List<KtNamedFunction> = emptyList() override fun getTopLevelCallableFiles(callableId: CallableId): List<KtFile> = emptyList() override fun getTopLevelCallableNamesInPackage(packageFqName: FqName): Set<Name> = emptySet()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 1.9K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/session/builder/sessionBuilderTestUtils.kt
import kotlin.streams.asSequence internal fun testDataPath(path: String): Path { return Paths.get("analysis/analysis-api-standalone/testData/sessionBuilder").resolve(path) } fun KtCallExpression.assertIsCallOf(callableId: CallableId) { analyze(this) { val ktCallInfo = resolveCallOld() Assertions.assertInstanceOf(KaSuccessCallInfo::class.java, ktCallInfo); ktCallInfo as KaSuccessCallInfo
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 05 16:16:39 UTC 2024 - 3.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/pointers/KtFirTopLevelFunctionSymbolPointer.kt
import org.jetbrains.kotlin.fir.symbols.impl.FirCallableSymbol import org.jetbrains.kotlin.name.CallableId internal class KaFirTopLevelFunctionSymbolPointer( callableId: CallableId, private val signature: FirCallableSignature, ) : KaTopLevelCallableSymbolPointer<KaFunctionSymbol>(callableId) { override fun KaFirSession.chooseCandidateAndCreateSymbol( candidates: Collection<FirCallableSymbol<*>>,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.5K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiEnumEntrySymbol.kt
val bindingContext = analysisContext.analyze(psi, AnalysisMode.PARTIAL) bindingContext[BindingContext.CLASS, psi] } override val callableId: CallableId? get() = withValidityAssertion { psi.callableId } override val returnType: KaType get() = withValidityAssertion { val containingDescriptor = descriptor?.containingDeclaration
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 3.3K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescConstructorSymbol.kt
return it } val callableId = descriptor.callableIdIfNotLocal if (callableId != null) { val signature = descriptor.getSymbolPointerSignature() return KaFe10DescFunctionLikeSymbolPointer(callableId, signature) } return KaFe10NeverRestoringSymbolPointer() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 3.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescFunctionSymbol.kt
return it } val callableId = descriptor.callableIdIfNotLocal if (callableId != null) { val signature = descriptor.getSymbolPointerSignature() return KaFe10DescFunctionLikeSymbolPointer(callableId, signature) } return KaFe10NeverRestoringSymbolPointer() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 7.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/utils/firUtils.kt
if (callableId.isLocal) return null // SAM constructors are synthetic, but can be imported if (origin is FirDeclarationOrigin.SamConstructor) return callableId.asSingleFqName() // if classId == null, callable is topLevel val containingClassId = callableId.classId ?: return callableId.asSingleFqName()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 11:53:09 UTC 2024 - 5.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertyGetterSymbol.kt
} /** * Returns [CallableId] of the delegated Java method if the corresponding property of this setter is a synthetic Java property. * Otherwise, returns `null` */ override val callableId: CallableId? by cached { val fir = firSymbol.fir if (fir is FirSyntheticPropertyAccessor) { fir.delegate.symbol.callableId } else null }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 4.2K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/declarations/KotlinStandaloneDeclarationProvider.kt
} override fun getTopLevelProperties(callableId: CallableId): Collection<KtProperty> = index.topLevelPropertyMap[callableId.packageName] ?.filter { ktProperty -> ktProperty.nameAsName == callableId.callableName && ktProperty.inScope } ?: emptyList() override fun getTopLevelFunctions(callableId: CallableId): Collection<KtNamedFunction> =
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 21.1K bytes - Viewed (0)