Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Optional (0.15 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

    import org.jetbrains.kotlin.utils.addIfNotNull
    
    internal object KDocReferenceResolver {
        /**
         * [symbol] is the symbol referenced by this resolve result.
         *
         * [receiverClassReference] is an optional receiver type in
         * the case of extension function references (see [getTypeQualifiedExtensions]).
         */
        private data class ResolveResult(val symbol: KtSymbol, val receiverClassReference: KtClassLikeSymbol?)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                        mapping.computeIfAbsent(element) { _ ->
                            unmappedCount -= 1
                            // Here we intentionally use the 'Optional' wrapper to make 'computeIfAbsent' work smoothly
                            Optional.ofNullable(computeTarget(element))
                        }
                    }
    
                    if (unmappedCount > 0) {
                        element.acceptChildren(this)
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Apr 16 06:40:43 GMT 2024
    - 22.9K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

            append("I")
        }
        for (param in method.parameterList.parameters) {
            append(getBinaryPresentationWithCorrection(param.type))
        }
        append(")")
        append(getBinaryPresentationWithCorrection(Optional.ofNullable(method.returnType).orElse(PsiType.VOID)))
    }
    
    private fun getBinaryPresentationWithCorrection(psiType: PsiType): String =
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top