- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 83 for if (0.23 sec)
-
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt
): KtSymbol? { val classLikeDeclaration = this.toSymbol(session)?.fir if (classLikeDeclaration is FirRegularClass) { if (calleeReference is FirResolvedNamedReference) { val callee = calleeReference.resolvedSymbol.fir as? FirCallableDeclaration // TODO: check callee owner directly? if (callee !is FirConstructor && callee?.isStatic != true) {
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) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10TypeProvider.kt
val fe10Type = type.fe10Type if (!KotlinBuiltIns.isArrayOrPrimitiveArray(fe10Type)) return null val arrayElementType = fe10Type.builtIns.getArrayElementType(fe10Type) return arrayElementType.toKtType(analysisContext) } private fun areTypesCompatible(a: KotlinType, b: KotlinType): Boolean {
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) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/firAnnotationUtils.kt
if (arg !is FirQualifiedAccessExpression) return val callableSymbol = arg.calleeReference.toResolvedCallableSymbol() ?: return if (callableSymbol.containingClassLookupTag()?.classId != expectedEnumClass) return val identifier = callableSymbol.callableId.callableName.identifier transformer(identifier)?.let(::add) } if (this@findFromRawArguments is FirAnnotationCall) {
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 9.6K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/signatures/KtFe10VariableLikeSignature.kt
) } override fun equals(other: Any?): Boolean { if (this === other) return true if (javaClass != other?.javaClass) return false other as KtFe10VariableLikeSignature<*> if (backingSymbol != other.backingSymbol) return false if (backingReturnType != other.backingReturnType) return false if (backingReceiverType != other.backingReceiverType) return false return true
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 2.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolContainingDeclarationProvider.kt
val symbolPsi = descriptor?.let(DescriptorToSourceUtils::getContainingFile) ?: symbol.psi if (symbolPsi != null) { return analysisSession.getModule(symbolPsi) } if (descriptor is DescriptorWithContainerSource) { return getFakeContainingKtModule(descriptor) } if (symbol is KtBackingFieldSymbol) { return getContainingModule(symbol.owningProperty)
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) -
analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java
} @Test @TestMetadata("function_body_with_if.kt") public void testFunction_body_with_if() { runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/function_body_with_if.kt"); } @Test @TestMetadata("function_equal_block_with_if.kt") public void testFunction_equal_block_with_if() {
Java - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Feb 27 20:30:06 GMT 2024 - 76.2K bytes - Viewed (0) -
ReadMe.md
Keep in mind: - If you’re adding a dependency with OS mentioned in an artifact name (`darwin`, `mac`, `osx`, `linux`, `windows`), remember to add them to `implicitDependencies` configuration or update `resolveDependencies` task if needed. `resolveDependencies` should resolve all dependencies including dependencies for different platforms.
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 11 14:28:46 GMT 2024 - 8.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSubstitutorFactory.kt
override val analysisSession: KtFirAnalysisSession ) : KtSubstitutorFactory(), KtFirAnalysisSessionComponent { override fun buildSubstitutor(builder: KtSubstitutorBuilder): KtSubstitutor { if (builder.mappings.isEmpty()) return KtSubstitutor.Empty(token) val firSubstitution = buildMap { builder.mappings.forEach { (ktTypeParameterSymbol, ktType) ->
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Mar 06 06:40:28 GMT 2024 - 1.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForReceiverParameter.kt
companion object { fun create(firCallableSymbol: FirCallableSymbol<*>, builder: KtSymbolByFirBuilder): KtAnnotationsList { val receiverParameter = firCallableSymbol.receiverParameter return if (receiverParameter?.annotations?.isEmpty() != false) { KtEmptyAnnotationsList(builder.token) } else { KtFirAnnotationListForReceiverParameter(firCallableSymbol, receiverParameter, builder)
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 3.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt
val owner = descriptor.owner if (descriptor is IrBasedReceiverParameterDescriptor && owner is IrValueParameter) { val receiverClass = (owner.type as? IrSimpleType)?.classifier as? IrClassSymbol val receiverClassId = receiverClass?.owner?.classId if (receiverClassId != null) { if (owner.index >= 0) {
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)