- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 112 for uncheckedNonnullCast (0.26 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)