Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for generous (0.2 sec)

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

            return name.startsWith("kotlin.jvm.functions.Function")
        }
    
        val ktTypeRawName = ktTypeAsText
            .trimEnd('?') // nullability is not part of JVM types
            .substringBefore('<') // generics are not part of parameter types in JVM method signatures
    
        val thisTypeAsKt = primitiveTypeStrings[name] ?: name
        return thisTypeAsKt.endsWith(ktTypeRawName)
    }
    
    
    private
    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/ApiTypeProvider.kt

     * will throw [IllegalStateException].
     *
     * Limitations:
     * - supports Java byte code only, not Kotlin
     * - does not support nested Java arrays as method parameters
     * - does not support generics with multiple bounds
     */
    class ApiTypeProvider internal constructor(
        private val asmLevel: Int,
        private val incubatingAnnotationTypeDescriptor: String,
        private val repository: ClassBytesRepository,
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  3. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionsGenerator.kt

        listOf(sourceName, isNullable, isRaw, variance) +
            typeArguments.flatMap(::apiTypeKey) +
            bounds.flatMap(::apiTypeKey)
    }
    
    
    // TODO Policy for extensions with reified generics
    //
    // Goals
    // - make the dsl predictable
    // - prevent ambiguous overload situations
    //
    // Rules
    // 1. an extension should either require no type parameters, a single reifeid type parameter, at call site
    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)
Back to top