Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validateCanCreateElement (0.33 sec)

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

            }
    
            @Override
            public void validateCanCreateElement(ModelPath path, ModelType<?> type) {
                if (!elementType.isAssignableFrom(type)) {
                    throw new IllegalArgumentException(String.format("Cannot create '%s' with type '%s' as this is not a subtype of '%s'.", path, type, elementType));
                }
                parent.validateCanCreateElement(path, type);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 23K bytes
    - Viewed (0)
Back to top