Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isScalarType (0.13 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/UnmanagedModelProjection.java

    import static org.gradle.model.internal.manage.schema.extract.PrimitiveTypes.isPrimitiveType;
    import static org.gradle.model.internal.manage.schema.extract.ScalarTypes.isScalarType;
    
    @ThreadSafe
    public class UnmanagedModelProjection<M> extends TypeCompatibilityModelProjectionSupport<M> {
    
        public static <M> ModelProjection of(ModelType<M> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/JdkValueTypeStrategy.java

        @Override
        public <R> void extract(ModelSchemaExtractionContext<R> extractionContext) {
            ModelType<R> type = extractionContext.getType();
            if (ScalarTypes.isScalarType(type)) {
                extractionContext.found(new ScalarValueSchema<R>(type));
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarTypes.java

            ModelType.of(Double.class),
            ModelType.of(BigInteger.class),
            ModelType.of(BigDecimal.class),
            ModelType.of(File.class)
        );
    
        public static boolean isScalarType(ModelType<?> modelType) {
            return TYPES.contains(modelType);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/JavaUtilCollectionStrategy.java

            Class<? super T> rawClass = type.getRawClass();
            List<ModelType<?>> typeVariables = type.getTypeVariables();
            if (TYPES.contains(rawClass)) {
                if (typeVariables.size() > 0 && ScalarTypes.isScalarType(typeVariables.get(0))) {
                    extractionContext.found(createSchema(extractionContext, type, typeVariables.get(0)));
                } else {
                    extractionContext.found(new UnmanagedImplStructSchema<T>(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top