Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 78 for badtype (0.25 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/invocation/GradleLifecycleUnsupportedTypesIntegrationTest.groovy

            given:
            settingsFile << """
                abstract class SomeBuildService implements $BuildService.name<${BuildServiceParameters.name}.None> {
                }
    
                class SomeBean {
                    private ${baseType.name} badReference
                }
    
                def configureGradleLifecycle() {
                    ${baseType.name} badReference
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:15:52 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. src/go/internal/gcimporter/iimport.go

    		targs := make([]types.Type, len)
    		for i := range targs {
    			targs[i] = r.typ()
    		}
    		baseType := r.typ()
    		// The imported instantiated type doesn't include any methods, so
    		// we must always use the methods of the base (orig) type.
    		// TODO provide a non-nil *Context
    		t, _ := types.Instantiate(nil, baseType, targs, false)
    		return t
    
    	case unionType:
    		if r.p.exportVersion < iexportVersionGenerics {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  6. 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)
  7. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/DefaultBeanStateWriterLookup.kt

    class DefaultBeanStateWriterLookup : BeanStateWriterLookup {
        private
        val beanPropertyWriters = ConcurrentHashMap<Class<*>, BeanStateWriter>()
    
        override fun beanStateWriterFor(beanType: Class<*>): BeanStateWriter =
            beanPropertyWriters.computeIfAbsent(beanType, ::BeanPropertyWriter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. operator/cmd/mesh/manifest_shared_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/log"
    )
    
    // cmdType is one of the commands used to generate and optionally apply a manifest.
    type cmdType string
    
    const (
    	// istioctl manifest generate
    	cmdGenerate cmdType = "istioctl manifest generate"
    	// istioctl install
    	cmdApply cmdType = "istioctl install"
    	// in-cluster controller
    	cmdController cmdType = "operator controller"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 20 22:39:28 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  9. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java

            @Override
            public boolean matches(Class<?> baseType, Class<?> candidate) {
                return baseType.isAssignableFrom(candidate);
            }
        }
    
        private static class StrictSerializerMatcher implements SerializerClassMatcherStrategy {
            @Override
            public boolean matches(Class<?> baseType, Class<?> candidate) {
                return baseType.equals(candidate);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/RecordingObjectOutputStream.kt

    
    internal
    class RecordingObjectOutputStream(
    
        private
        val beanType: Class<*>,
    
        private
        val bean: Any
    
    ) : ObjectOutputStream() {
    
        private
        val operations = mutableListOf<suspend WriteContext.() -> Unit>()
    
        suspend fun WriteContext.playback() {
            withBeanTrace(beanType) {
                operations.forEach { operation ->
                    operation()
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top