Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for uncheckedNonnullCast (0.33 sec)

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

                asCollectionProperty.convention(new DefaultProvider<>(() -> Cast.uncheckedNonnullCast(mapping.getValue(_convention, _source))));
            } else if (target instanceof ConfigurableFileCollection) {
                ConfigurableFileCollection asFileCollection = Cast.uncheckedNonnullCast(target);
                asFileCollection.convention((Callable) () -> mapping.getValue(_convention, _source));
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/main/java/org/gradle/ide/xcode/tasks/internal/XcodeSchemeFile.java

                Map<String, String> attributes = Cast.uncheckedNonnullCast(xml.attributes());
                attributes.put("buildForRunning", toYesNo(buildForRunning));
            }
    
            public void setBuildForTesting(boolean buildForTesting) {
                Map<String, String> attributes = Cast.uncheckedNonnullCast(xml.attributes());
                attributes.put("buildForTesting", toYesNo(buildForTesting));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/ImmutableActionSet.java

            }
            if (action instanceof SingletonSet) {
                SingletonSet<T> singletonSet = Cast.uncheckedNonnullCast(action);
                return addOne(singletonSet.singleAction);
            }
            if (action instanceof SetWithFewActions) {
                SetWithFewActions<T> compositeSet = Cast.uncheckedNonnullCast(action);
                return addAll(compositeSet);
            }
            if (action instanceof SetWithManyActions) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 11K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/api/internal/provider/ProviderTestUtil.java

            assert values.length > 0;
            return new TestProvider<>(Cast.uncheckedNonnullCast(values[0].getClass()), Arrays.asList(values), null);
        }
    
        public static <T> ProviderInternal<T> withChangingExecutionTimeValues(T... values) {
            assert values.length > 0;
            return new TestProviderWithChangingValue<>(Cast.uncheckedNonnullCast(values[0].getClass()), Arrays.asList(values), null);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 05:02:13 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultSetProperty.java

            super.convention(provider);
            return this;
        }
    
        @Override
        public SetProperty<T> unset() {
            return uncheckedNonnullCast(super.unset());
        }
    
        @Override
        public SetProperty<T> unsetConvention() {
            return uncheckedNonnullCast(super.unsetConvention());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 22:58:03 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/DefaultListProperty.java

            super.convention(provider);
            return this;
        }
    
        @Override
        public ListProperty<T> unset() {
            return uncheckedNonnullCast(super.unset());
        }
    
        @Override
        public ListProperty<T> unsetConvention() {
            return uncheckedNonnullCast(super.unsetConvention());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 19:56:59 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/BaseSerializerFactory.java

                return Cast.uncheckedNonnullCast(STRING_SERIALIZER);
            }
            if (type.equals(Long.class)) {
                return Cast.uncheckedNonnullCast(LONG_SERIALIZER);
            }
            if (type.equals(File.class)) {
                return Cast.uncheckedNonnullCast(FILE_SERIALIZER);
            }
            if (type.equals(byte[].class)) {
                return Cast.uncheckedNonnullCast(BYTE_ARRAY_SERIALIZER);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/IncrementalInputChanges.java

            changes.accept(propertyName, visitor);
            return Cast.uncheckedNonnullCast(visitor.getChanges());
        }
    
        @Override
        public Iterable<InputFileDetails> getAllFileChanges() {
            CollectingChangeVisitor visitor = new CollectingChangeVisitor();
            changes.accept(visitor);
            return Cast.uncheckedNonnullCast(visitor.getChanges());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultExecutionStateChangeDetector.java

            ClassImplementationSnapshot currentImplementation = Cast.uncheckedNonnullCast(thisExecution.getImplementation());
            ClassImplementationSnapshot previousImplementation = Cast.uncheckedNonnullCast(lastExecution.getImplementation());
            ImmutableList<ImplementationSnapshot> currentAdditionalImplementations = Cast.uncheckedNonnullCast(thisExecution.getAdditionalImplementations());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/specs/ExplainingSpecs.java

            }
            @Override
            public String whyUnsatisfied(Object element) {
                return null;
            }
        };
    
        public static <T> ExplainingSpec<T> satisfyAll() {
            return Cast.uncheckedNonnullCast(SATISFIES_ALL);
        }
    
        private static final ExplainingSpec<Object> SATISFIES_NONE = new ExplainingSpec<Object>() {
            @Override
            public boolean isSatisfiedBy(Object element) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 20 10:28:05 UTC 2020
    - 1.6K bytes
    - Viewed (0)
Back to top