Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for classBytesFor (0.15 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

        private
        val classBytesIndex = (classPathFiles + classPathDependencies + platformClassLoader).map { classBytesIndexFor(it) }
    
        /**
         * Class file bytes for Kotlin source name, if found.
         */
        fun classBytesFor(sourceName: String): ByteArray? =
            classBytesSupplierForSourceName(sourceName)?.let { it() }
    
        /**
         * All found class files bytes by Kotlin source name.
         */
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

        private
        var closed = false
    
        fun type(sourceName: String): ApiType? = open {
            apiTypesBySourceName.computeIfAbsent(sourceName) {
                repository.classBytesFor(sourceName)?.let { apiTypeFor(sourceName) { it } }
            }?.invoke()
        }
    
        internal
        fun allTypes(): Sequence<ApiType> = open {
    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)
Back to top