- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 116 for componentTypes (0.3 sec)
-
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/component/BaseComponentSpecTest.groovy
when: new BaseComponentSpec() {} then: def e = thrown ModelInstantiationException e.message == "Direct instantiation of a BaseComponentSpec is not permitted. Use a @ComponentType rule instead." } private <T extends ComponentSpec, I extends BaseComponentSpec> T create(Class<T> publicType, Class<I> implType) { return BaseComponentFixtures.create(publicType, implType, componentId)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 3.4K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
if (to instanceof WildcardType) { return; // Okay to say A[] is <?> } Type componentType = Types.getComponentType(to); checkArgument(componentType != null, "%s is not an array type.", to); populateTypeMappings(mappings, fromArrayType.getGenericComponentType(), componentType); } @Override void visitClass(Class<?> fromClass) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeToken.java
*/ @CheckForNull public final TypeToken<?> getComponentType() { Type componentType = Types.getComponentType(runtimeType); if (componentType == null) { return null; } return of(componentType); } /** * Returns the {@link Invokable} for {@code method}, which must be a member of {@code T}. * * @since 14.0 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 53.6K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeToken.java
*/ @CheckForNull public final TypeToken<?> getComponentType() { Type componentType = Types.getComponentType(runtimeType); if (componentType == null) { return null; } return of(componentType); } /** * Returns the {@link Invokable} for {@code method}, which must be a member of {@code T}. * * @since 14.0 */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 53.6K bytes - Viewed (0) -
platforms/software/platform-base/src/integTest/groovy/org/gradle/language/base/BinariesLifecycleTaskIntegrationTest.groovy
} }; } } class MySamplePlugin extends RuleSource { @ComponentType void register(TypeBuilder<SampleBinary> builder) { builder.defaultImplementation(DefaultSampleBinary) } } apply plugin:MySamplePlugin
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 5.6K bytes - Viewed (0) -
platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/binary/BaseBinarySpecTest.groovy
when: new BaseBinarySpec() {} then: def e = thrown ModelInstantiationException e.message == "Direct instantiation of a BaseBinarySpec is not permitted. Use a @ComponentType rule instead." } def "binary has name and sensible display name"() { def binary = create(SampleBinary, MySampleBinary, "sampleBinary") expect: binary instanceof SampleBinary
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 11 12:16:09 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/TreeFormatter.java
if (value == null) { append("null"); } else if (value.getClass().isArray()) { Class<?> componentType = value.getClass().getComponentType(); if (componentType.isPrimitive()) { append(value.toString()); } else { appendValues((Object[]) value); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 22 14:04:39 UTC 2024 - 11.8K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/reflect/TypeOf.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:45:59 UTC 2024 - 10.9K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/action/AnnotationGeneratorWorkAction.kt
} private fun Type.toCodeTypeString(): String { if (this is Class<*> && this.isArray) { return this.componentType.toCodeTypeString() + "[]" } return toString() .replace("class ", "") .replace("interface ", "") } companion object { private
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 22 10:58:31 UTC 2022 - 6.9K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/RuleSource.java
* <ul> * <li>{@link Model}</li> * <li>{@link Defaults}</li> * <li>{@link Mutate}</li> * <li>{@link Finalize}</li> * <li>{@link Validate}</li> * <li>{@link Rules}</li> * <li>{@link org.gradle.platform.base.ComponentType}</li> * <li>{@link org.gradle.platform.base.ComponentBinaries}</li> * <li>{@link org.gradle.platform.base.BinaryTasks}</li> * </ul> * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 3.6K bytes - Viewed (0)