Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetResource (0.18 sec)

  1. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

             * Please keep this code in sync.
             */
            internal
            fun generateImportPackages(): List<String> {
                /*
                 * The class that getResource called upon must be from within a jar that contains the import txt file.
                 *
                 * Note: Even though 'jump to declaration' in IJ will show this to be the 'DefaultImportsReader' from
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Wed Jun 22 10:58:31 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  2. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

        }
    
        private
        fun loaderClassBytesIndexFor(loader: ClassLoader): ClassBytesIndex = { classFilePath ->
            loader.getResource(classFilePath)?.let {
                { loader.getResourceAsStream(classFilePath).use { it!!.readBytes() } }
            }
        }
    
        private
        fun openJarFile(file: File) =
    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)
Back to top