Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nonNullValidatedPath (0.25 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelperExtension.java

        public static Object realize(ModelRegistry modelRegistry, String path) {
            return modelRegistry.realize(ModelPath.nonNullValidatedPath(path), ModelType.UNTYPED);
        }
    
        public static <T> T realize(ModelRegistry modelRegistry, String path, Class<T> type) {
            return modelRegistry.realize(ModelPath.nonNullValidatedPath(path), ModelType.of(type));
        }
    
        // ModelRegistrations.Builder methods
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 18.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelPath.java

            if (path == null) {
                return null;
            } else {
                validatePath(path);
                return path(path);
            }
        }
    
        public static ModelPath nonNullValidatedPath(String path) {
            if (path == null) {
                throw new IllegalArgumentException("path cannot be null");
            } else {
                return validatedPath(path);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.2K bytes
    - Viewed (0)
Back to top