Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SchemaType (0.16 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/ProjectSchemaProvider.kt

    }
    
    
    data class SchemaType(val value: TypeOf<*>) {
    
        companion object {
            inline fun <reified T> of() = SchemaType(typeOf<T>())
        }
    
        val kotlinString = kotlinTypeStringFor(value)
    
        override fun toString(): String = kotlinString
    }
    
    
    typealias TypedProjectSchema = ProjectSchema<SchemaType>
    
    
    data class ProjectSchema<out T>(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/test/kotlin/org/gradle/internal/declarativedsl/SettingsExtensionsSchemaTest.kt

                }
            }
    
            val schema = settingsEvaluationSchema(settingsMock)
    
            val schemaType = schema.analysisSchema.dataClassesByFqName.values.find { it.name.simpleName == MyExtension::class.simpleName }
            assertNotNull(schemaType)
            assertTrue(schemaType!!.properties.any { it.name == "id" })
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 09:57:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/accessors/Emitter.kt

            nameSpec,
            accessibleType<Configuration>()
        )
    
    
    private
    inline fun <reified T> accessibleType() =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 13:09:46 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top