- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 119 for uncheckedNonnullCast (0.29 sec)
-
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) -
subprojects/core/src/main/java/org/gradle/api/internal/model/DefaultObjectFactory.java
// Kotlin passes these types for its own basic types return Cast.uncheckedNonnullCast(mapProperty(JavaReflectionUtil.getWrapperTypeForPrimitiveType(keyType), valueType)); } if (valueType.isPrimitive()) { // Kotlin passes these types for its own basic types return Cast.uncheckedNonnullCast(mapProperty(keyType, JavaReflectionUtil.getWrapperTypeForPrimitiveType(valueType))); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 18:56:03 UTC 2023 - 9.9K 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) -
subprojects/core/src/main/java/org/gradle/api/services/internal/DefaultBuildServicesRegistry.java
DefaultServiceSpec<?> spec = uncheckedNonnullCast(specInstantiator.newInstance(DefaultServiceSpec.class, parameters)); spec.getMaxParallelUsages().set(maxUsages); return spec; }; return doRegisterIfAbsent(name, uncheckedNonnullCast(implementationType), uncheckedNonnullCast(buildServiceSpecSupplier)); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 19:15:45 UTC 2024 - 16.7K bytes - Viewed (0) -
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) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/tasks/DefaultTaskDependency.java
// Path is Iterable, but we don't want to unpack it Iterable<?> iterable = Cast.uncheckedNonnullCast(dependency); addAllFirst(queue, toArray(iterable, Object.class)); } else if (dependency instanceof Map) { Map<?, ?> map = Cast.uncheckedNonnullCast(dependency); addAllFirst(queue, map.values().toArray());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:43 UTC 2024 - 10.7K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 09:53:33 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceMethodFactory.java
* limitations under the License. */ package org.gradle.internal.service; import java.lang.reflect.Method; import static org.gradle.internal.Cast.uncheckedNonnullCast; /** * A service method factory that will try to use method handles if available, otherwise fallback on reflection. */ class DefaultServiceMethodFactory implements ServiceMethodFactory {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/attributes/DefaultImmutableAttributesFactory.java
return concat(node, key, isolate(value)); } private <T> Isolatable<T> isolate(@Nullable T value) { if (value instanceof String) { return Cast.uncheckedNonnullCast(new CoercingStringValueSnapshot((String) value, instantiator)); } else { return isolatableFactory.isolate(value); } } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 6.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/initialization/properties/DefaultSystemPropertiesInstaller.java
import org.gradle.api.internal.properties.GradleProperties; import org.gradle.initialization.EnvironmentChangeTracker; import java.util.Map; import static org.gradle.internal.Cast.uncheckedNonnullCast; public class DefaultSystemPropertiesInstaller implements SystemPropertiesInstaller { private final EnvironmentChangeTracker environmentChangeTracker; private final StartParameterInternal startParameter;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 03 11:21:54 UTC 2023 - 3.3K bytes - Viewed (0)