Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for drop (0.12 sec)

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

                return@collectDescendantsOfType false
            }
    
            // Parameter type check
            method.parameterTypes
                .asSequence()
                // Drop the receiver if present
                .drop(if (extensionCandidate) 1 else 0)
                .withIndex()
                .all<IndexedValue<CtClass>> {
                    val ktParamType = ktFunction.valueParameters[it.index].typeReference!!
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 20 20:38:19 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

                    )
                ),
                isVarargs = true,
                asArgument = "mapOf(*${first.asArgument})"
            )
            if (last().type.isSAM) last().let { action -> drop(1).dropLast(1) + mappedMapParameter + action }
            else drop(1) + mappedMapParameter
        } ?: this
    
    
    private
    fun List<MappedApiFunctionParameter>.javaClassToKotlinClass() =
        map { p ->
            p.type.run {
                when {
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Wed Dec 20 21:41:53 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            ClassDoc classDoc = classDoc('Class', content: content)
            PropertyDoc propDoc = propertyDoc('propName', id: 'propId', description: 'prop description', comment: 'prop comment', type: 'org.gradle.Type', attributes: [extraAttribute])
            _ * classDoc.classProperties >> [propDoc]
            _ * classDoc.classMethods >> []
            _ * classDoc.classBlocks >> []
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 40.8K bytes
    - Viewed (0)
Back to top