Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for originalType (0.22 sec)

  1. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

            Type originalType = accessor.originalType;
            return new CallInterceptionRequestImpl(
                extractCallableInfo(GROOVY_PROPERTY_GETTER, method, originalType, accessor.propertyName, parameters),
                extractImplementationInfo(method, originalType, accessor.methodName, "get", Collections.emptyList()),
                extras
            );
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeCodeGenTest.groovy

                    @ReplacesEagerProperty${PRIMITIVE_TYPES.contains(originalType) ? "(originalType = ${originalType}.class)" : ""}
                    public abstract $upgradedType getProperty();
                }
            """
    
            when:
            Compilation compilation = compile(givenSource)
    
            then:
            boolean hasSuppressWarnings = originalType in ["List", "Map", "Set"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacedAccessor.java

        /**
         * The name of the accessor, e.g. `getDestinationDir` or `setDestinationDir`
         */
        String name();
    
        /**
         * See {@link ReplacesEagerProperty#originalType()}
         */
        Class<?> originalType() default DefaultValue.class;
    
        /**
         * See {@link ReplacesEagerProperty#fluentSetter()}
         */
        boolean fluentSetter() default false;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/DataSchemaBuilder.kt

            }
    
            fun addProperty(kClass: KClass<*>, property: DataProperty, originalType: KType) {
                properties.getOrPut(kClass) { mutableMapOf() }[property.name] = property
                propertyOriginalTypes.getOrPut(kClass) { mutableMapOf() }[property.name] = originalType
            }
    
            fun claimFunction(kClass: KClass<*>, kFunction: KFunction<*>) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 10:08:02 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/IsolatedCodecs.kt

        override suspend fun ReadContext.decode(): IsolatedJavaSerializedValueSnapshot? {
            val implementationHash = read() as HashCode?
            val originalType = readClass()
            val binary = readBinary()
            return IsolatedJavaSerializedValueSnapshot(implementationHash, binary, originalType)
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/ReplacesEagerProperty.java

         * MapProperty[K, V] -> original type becomes Map[K, V]
         * ListProperty[T] -> original type becomes List[T]
         * ConfigurableFileCollection -> original type becomes FileCollection
         */
        Class<?> originalType() default DefaultValue.class;
    
        /**
         * Whether the setter accessor for property was fluent
         */
        boolean fluentSetter() default false;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/extensions/property/InstrumentedPropertiesResourceGeneratorTest.groovy

                    public abstract Property<String> getTargetCompatibility();
                    @ReplacesEagerProperty
                    public abstract Property<String> getSourceCompatibility();
                    @ReplacesEagerProperty(originalType = int.class)
                    public abstract Property<Integer> getMaxErrors();
                }
            """
    
            when:
            Compilation compilation = compile(givenSource)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch.go

    				}
    				original[k], ok = removeDirectives(patchV)
    				if !ok {
    					delete(original, k)
    				}
    			}
    			continue
    		}
    
    		originalType := reflect.TypeOf(original[k])
    		patchType := reflect.TypeOf(patchV)
    		if originalType != patchType {
    			if !isDeleteList {
    				if mergeOptions.IgnoreUnmatchedNulls {
    					discardNullValuesFromPatch(patchV)
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 23:34:23 UTC 2023
    - 75.5K bytes
    - Viewed (0)
  9. fastapi/utils.py

        original_type = field.type_
        if is_dataclass(original_type) and hasattr(original_type, "__pydantic_model__"):
            original_type = original_type.__pydantic_model__
        use_type = original_type
        if lenient_issubclass(original_type, BaseModel):
            original_type = cast(Type[BaseModel], original_type)
            use_type = cloned_types.get(original_type)
            if use_type is None:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtFirDiagnostics.kt

        }
    
        interface UncheckedCast : KaFirDiagnostic<KtBinaryExpressionWithTypeRHS> {
            override val diagnosticClass get() = UncheckedCast::class
            val originalType: KaType
            val targetType: KaType
        }
    
        interface UselessIsCheck : KaFirDiagnostic<KtElement> {
            override val diagnosticClass get() = UselessIsCheck::class
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 11:41:05 UTC 2024
    - 172.6K bytes
    - Viewed (0)
Back to top