Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 72 for uncheckedNonnullCast (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. subprojects/core/src/main/java/org/gradle/caching/configuration/internal/DefaultBuildCacheConfiguration.java

                throw new IllegalArgumentException("Using a local build cache type other than " + DirectoryBuildCache.class.getSimpleName() + " is not allowed");
            }
            T configurationObject = Cast.uncheckedNonnullCast(local);
            configuration.execute(configurationObject);
            return configurationObject;
        }
    
        @Override
        public void local(Action<? super DirectoryBuildCache> configuration) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 20 12:32:48 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/KotlinStdlibFileInterceptors.java

            File self,
            Function2<?, ?, ?> action,
            @CallerClassName String consumer
        ) {
            Instrumented.fileOpened(self, consumer);
            FilesKt.forEachBlock(self, Cast.uncheckedNonnullCast(action));
        }
    
        @InterceptCalls
        @StaticMethod(ofClass = FilesKt.class)
        public static void intercept_forEachBlock(
            File self,
            int blockSize,
            Function2<?, ?, ?> action,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 20 12:34:20 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ManagedFactories.java

                    return null;
                }
                // TODO - should preserve the property type (which may be different to the provider type)
                ProviderInternal<S> provider = Cast.uncheckedNonnullCast(state);
                return type.cast(propertyOf(provider.getType(), provider));
            }
    
            <V> Property<V> propertyOf(Class<V> type, Provider<V> value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top