- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 34 for ElementType (0.36 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/NodeBackedModelMap.java
protected final ModelType<?> elementType; public ElementFilter(ModelType<?> elementType) { this.elementType = elementType; } public ElementFilter withType(Class<?> elementType) { return withType(ModelType.of(elementType)); } public ElementFilter withType(ModelType<?> elementType) { if (this.elementType.equals(elementType)) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 23K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ScalarCollectionNodeInitializerExtractionStrategy.java
return new ListModelView<E>(modelNode.getPath(), elementType, modelNode, ruleDescriptor, readOnly, mutable); } }; } public static <E> ScalarCollectionModelProjection<E, Set<E>> forSet(final ModelType<E> elementType, final boolean readOnly) { return new ScalarCollectionModelProjection<E, Set<E>>(ModelTypes.set(elementType)) { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:15:09 UTC 2024 - 12.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/model/DefaultObjectFactory.java
return domainObjectCollectionFactory.newNamedDomainObjectContainer(elementType); } @Override public <T> NamedDomainObjectContainer<T> domainObjectContainer(Class<T> elementType, NamedDomainObjectFactory<T> factory) { return domainObjectCollectionFactory.newNamedDomainObjectContainer(elementType, factory); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 18:56:03 UTC 2023 - 9.9K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/internal/normalization/java/ApiClassExtractorAnnotationsTest.groovy
Ann: ''' import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.TYPE}) public @interface Ann {} ''' ])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 10.9K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/model/ObjectFactory.java
* * @param elementType The type of objects for the container to contain. * @param <T> The type of objects for the container to contain. * @return The container. Never returns null. * @since 5.5 */ <T> NamedDomainObjectContainer<T> domainObjectContainer(Class<T> elementType); /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy
} @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.TYPE, ElementType.METHOD, ElementType.FIELD]) @interface Irrelevant { } @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.METHOD, ElementType.FIELD]) @interface Ignored { } @Retention(RetentionPolicy.RUNTIME) @Target([ElementType.METHOD, ElementType.FIELD]) @interface Ignored2 {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 11 15:31:37 UTC 2024 - 25.7K bytes - Viewed (0) -
platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy
import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.annotation.Target; @Target({ ElementType.TYPE, ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.CONSTRUCTOR, ElementType.LOCAL_VARIABLE, ElementType.ANNOTATION_TYPE, ElementType.PACKAGE,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:06:26 UTC 2023 - 22.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/TestInputAnnotationFailuresIntegrationTest.groovy
result.assertHasErrorOutput("Reason: A property of type '$elementType' annotated with @Input cannot determine how to interpret the file.") result.assertHasErrorOutput("Possible solution: Annotate with @InputDirectory for directories.") result.assertTaskNotExecuted('myTask') where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 10.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java
this.collectionType = collectionType; this.elementType = elementType; this.collectionFactory = collectionFactory; valueCollector = new ValidatingValueCollector<>(collectionType, elementType, ValueSanitizers.forType(elementType)); init(); } private void init() { defaultValue = emptySupplier(); init(defaultValue, noValueSupplier()); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 17 11:41:55 UTC 2024 - 29.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
return typeMetaData; } private void extractElementTypeName(Type elementType, TypeMetaData typeMetaData) { elementType.ifVoidType(voidType -> typeMetaData.setName("void")); elementType.ifPrimitiveType(primitiveType -> typeMetaData.setName(primitiveType.asString())); elementType.ifWildcardType(wildcardType -> {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 21 13:27:02 UTC 2023 - 11.7K bytes - Viewed (0)