Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for clazz (0.13 sec)

  1. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

      }
    
      private fun registerStandardClass(
        access: Feature.BeforeAnalysisAccess,
        name: String,
      ) {
        val clazz: Class<*> = access.findClassByName(name) ?: throw IllegalStateException("Missing class $name")
        RuntimeReflection.register(clazz)
        clazz.declaredConstructors.forEach {
          RuntimeReflection.register(it)
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  2. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt

                 *
                 * At runtime, the 'DefaultImportsReader' will be the version from the distribution actively being built/tested.
                 */
                val clazz = DefaultImportsReader::class.java
                return clazz.getResource(RESOURCE)
                    .readText()
                    .split('\n')
                    .filter { it.isNotBlank() }
                    .map { line -> line.substring(7, line.length - 2) }
    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)
Back to top