- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 110 for uncheckedNonnullCast (0.2 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/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)