Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for couldBeExtensionFunction (0.16 sec)

  1. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt

    }
    
    
    private
    fun KtFile.collectKtFunctionsFor(qualifiedBaseName: String, method: CtMethod): List<KtFunction> {
    
        val paramCount = method.parameterTypes.size
        val couldBeExtensionFunction = paramCount > 0
        val paramCountWithReceiver = paramCount - 1
        val functionFqName = "$qualifiedBaseName.${method.name}"
    
        return collectDescendantsOfType { ktFunction ->
            // Name check
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 04 08:05:22 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top