Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for badtype (0.29 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/reflect/JavaReflectionUtil.java

         * Returns the {@link TypeToken} of a parameter specified by index.
         *
         * @param beanType the TypeToken of the bean
         * @param parameterizedClass the parameterized class
         * @param typeParameterIndex the index of the parameter
         * @return a TypeToken
         */
        public static <T> TypeToken<?> extractNestedType(TypeToken<T> beanType, Class<? super T> parameterizedClass, int typeParameterIndex) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. 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)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenCustomPackagingResolveIntegrationTest.groovy

        @Issue("https://issues.gradle.org/browse/GRADLE-2984")
        def "can resolve local module with custom packaging"() {
            using m2
            def local = m2.mavenRepo().module("local", "local", "1.0").hasType("aar").hasPackaging("aar").publish()
    
            when:
            buildScript """
                configurations {
                    local
                }
                repositories {
                    mavenLocal()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishArtifactCustomizationIntegTest.groovy

            ivy.expectArtifact('ivyPublish', 'txt').hasType("txt").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'html').hasType("html").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'jar').hasType("jar").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'reg').hasType("reg").hasConf(null)
            ivy.expectArtifact('ivyPublish', 'foo').hasType("foo").hasConf(null)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 18.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/NestedValidationUtil.java

         * @param propertyName the name of the property
         * @param beanType the type of the bean
         */
        public static void validateBeanType(
            TypeValidationContext validationContext,
            String propertyName,
            Class<?> beanType
        ) {
            getUnsupportedReason(beanType).ifPresent(reason ->
                validationContext.visitPropertyProblem(problem ->
                    problem
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanPropertyWriter.kt

    import org.gradle.internal.serialize.graph.writeNextProperty
    import java.lang.reflect.Field
    
    
    class BeanPropertyWriter(
        beanType: Class<*>
    ) : BeanStateWriter {
    
        private
        val relevantFields = relevantStateOf(beanType)
    
        /**
         * Serializes a bean by serializing the value of each of its fields.
         */
        override suspend fun WriteContext.writeStateOf(bean: Any) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top