Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for delegateType (0.18 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

            if (delegateType != null && Modifier.isAbstract(delegateType.getConcreteClass().getModifiers())) {
                throw new InvalidManagedTypeException(String.format("Type '%s' is not a valid managed type: delegate type must be null or a non-abstract type instead of '%s'.",
                    publicType.getDisplayName(), delegateType.getDisplayName()));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/typeregistration/BaseInstanceFactory.java

                ModelType<?> delegateType = implementationInfo.getDelegateType();
                for (InternalViewRegistration<?> internalViewRegistration : internalViewRegistrations) {
                    validateManagedInternalView(internalViewRegistration, delegateType);
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGeneratorTest.groovy

            return generate(ModelElementState, managedType, delegateType)
        }
    
        def <T, M extends T, D extends T> Class<? extends T> generate(Class<? extends GeneratedViewState> backingStateType, Class<T> managedType, Class<D> delegateType) {
            def key = [backingStateType, managedType, delegateType]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.6K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/binding/DefaultStructBindingsStoreTest.groovy

    
        def extract(Class<?> type, Class<?> delegateType = null) {
            return extract(type, [], delegateType)
        }
        def extract(Class<?> type, List<Class<?>> viewTypes, Class<?> delegateType = null) {
            return bindingStore.getBindings(
                ModelType.of(type),
                viewTypes.collect { ModelType.of(it) },
                delegateType == null ? null : ModelType.of(delegateType)
            )
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 26.8K bytes
    - Viewed (0)
Back to top