Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ClassBytesSupplier (0.36 sec)

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

    package org.gradle.kotlin.dsl.internal.sharedruntime.support
    
    import java.io.Closeable
    import java.io.File
    import java.util.jar.JarFile
    
    
    private
    typealias ClassBytesSupplier = () -> ByteArray
    
    
    private
    typealias ClassBytesIndex = (String) -> ClassBytesSupplier?
    
    
    /**
     * Repository providing access to class bytes by Kotlin source names.
     *
     * Follows the one directory per package name segment convention.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            ApiType(asmLevel, incubatingAnnotationTypeDescriptor, sourceName, classNodeFor(classBytes), context)
        }
    
        private
        fun classNodeFor(classBytesSupplier: () -> ByteArray): () -> ApiTypeClassNode = {
            ApiTypeClassNode(asmLevel).also {
                ClassReader(classBytesSupplier()).accept(it, SKIP_CODE or SKIP_FRAMES)
            }
        }
    
        private
        fun <T> open(action: () -> T): T {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Mar 12 15:56:18 UTC 2025
    - 20.2K bytes
    - Viewed (0)
Back to top