- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for uncheckedNonnullCast (0.38 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/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-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) -
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/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/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-configuration/model-core/src/main/java/org/gradle/internal/isolated/IsolationScheme.java
Type type = unwrapTypeVariable(foundType.get()); return type instanceof Class ? Cast.uncheckedNonnullCast(type) : type instanceof ParameterizedType ? Cast.uncheckedNonnullCast(((ParameterizedType) type).getRawType()) : Cast.uncheckedNonnullCast(paramsType); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 21:54:37 UTC 2024 - 12.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/AbstractTask.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 12:20:43 UTC 2024 - 34.7K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/DefaultSerializerRegistry.java
} return Cast.uncheckedNonnullCast(typeInfo.serializer.read(decoder)); } @Override public void write(Encoder encoder, T value) throws Exception { TypeInfo typeInfo = map(value.getClass()); encoder.writeSmallInt(typeInfo.tag); Cast.<Serializer<T>>uncheckedNonnullCast(typeInfo.serializer).write(encoder, value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 10.1K bytes - Viewed (0)