- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for badtype (0.18 sec)
-
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt
private val propertyOriginalTypes = mutableMapOf<KClass<*>, MutableMap<String, KType>>() private val claimedFunctions = mutableMapOf<KClass<*>, MutableSet<KFunction<*>>>() fun addType(kClass: KClass<*>) { properties.getOrPut(kClass) { mutableMapOf() } propertyOriginalTypes.getOrPut(kClass) { mutableMapOf() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 10:08:02 UTC 2024 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go
func buildTestEnv() (*cel.Env, error) { fooType := common.SchemaDeclType(simpleMapSchema("foo", spec.StringProperty()), true).MaybeAssignTypeName("fooType") barType := common.SchemaDeclType(simpleMapSchema("bar", spec.Int64Property()), true).MaybeAssignTypeName("barType") env, err := environment.MustBaseEnvSet(environment.DefaultCompatibilityVersion(), true).Extend( environment.VersionedOptions{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/codecs/BeanCodec.kt
encodePreservingIdentityOf(value) { val beanType = GeneratedSubclasses.unpackType(value) withBeanTrace(beanType) { writeBeanOf(beanType, value) } } } override suspend fun ReadContext.decode(): Any = decodePreservingIdentity { id -> val beanType = readClass() val generated = readBoolean()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 04 18:56:44 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanConstructors.kt
fun constructorForSerialization(beanType: Class<*>): Constructor<out Any> { return cache.get(beanType) { -> createConstructor(beanType) } } private fun createConstructor(beanType: Class<*>): Constructor<out Any> { // Initialize the super types of the bean type, as this does not seem to happen via the generated constructors maybeInit(beanType)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 2.7K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanSchema.kt
) internal fun relevantStateOf(beanType: Class<*>): List<RelevantField> = when (IConventionAware::class.java.isAssignableFrom(beanType)) { true -> applyConventionMappingTo(beanType, relevantFieldsOf(beanType)) else -> relevantFieldsOf(beanType) } private fun relevantFieldsOf(beanType: Class<*>) = relevantTypeHierarchyOf(beanType) .flatMap(Class<*>::relevantFields)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 5.7K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Logging.kt
} fun IsolateContext.logUnsupported( action: String, baseType: KClass<*>, documentationSection: DocumentationSection = RequirementsDisallowedTypes, appendix: StructuredMessageBuilder = {} ) { logUnsupported(action, documentationSection, appendix) { text(" object of type ") reference(baseType) } } fun IsolateContext.logUnsupported( action: String,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/PropertyTraceTest.kt
@Test fun `field of bean found in input property of task`() { val beanType = PropertyTraceTest::class.java val taskType = Task::class.java assertThat( PropertyTrace.Property( PropertyKind.Field, "f", PropertyTrace.Bean( beanType, PropertyTrace.Property(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Codec.kt
val beanType = value.javaClass withBeanTrace(beanType) { writeClass(beanType) beanStateWriterFor(beanType).run { writeStateOf(value) } } } suspend fun ReadContext.decodeBean(): Any { val beanType = readClass() return withBeanTrace(beanType) { beanStateReaderFor(beanType).run { newBean(false).also {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.9K bytes - Viewed (0) -
platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyReader.kt
class BeanPropertyReader( private val beanType: Class<*>, private val constructors: BeanConstructors, instantiatorFactory: InstantiatorFactory ) : BeanStateReader { // TODO should use the same scheme as the original bean private val instantiationScheme: InstantiationScheme = instantiatorFactory.decorateScheme() private val relevantFields = relevantStateOf(beanType) private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Contexts.kt
@ServiceScope(Scope.BuildTree::class) interface BeanStateWriterLookup { fun beanStateWriterFor(beanType: Class<*>): BeanStateWriter } @ServiceScope(Scope.BuildTree::class) interface BeanStateReaderLookup { fun beanStateReaderFor(beanType: Class<*>): BeanStateReader } class DefaultWriteContext( codec: Codec<Any?>, private val encoder: Encoder,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 23:09:56 UTC 2024 - 7.3K bytes - Viewed (0)