- Sort Score
- Result 10 results
- Languages All
Results 11 - 15 of 15 for AnnotationCategory (0.18 sec)
-
platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/annotations/TestAnnotationHandlingSupport.groovy
import static org.gradle.internal.properties.annotations.PropertyAnnotationHandler.Kind.INPUT import static org.gradle.internal.reflect.annotations.AnnotationCategory.TYPE trait TestAnnotationHandlingSupport { enum Modifiers implements AnnotationCategory { COLOR; @Override String getDisplayName() { name() } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 20:42:35 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/PropertyAnnotationMetadata.java
String getPropertyName(); boolean isAnnotationPresent(Class<? extends Annotation> annotationType); <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType); ImmutableMap<AnnotationCategory, Annotation> getAnnotations(); TypeToken<?> getDeclaredType(); @Nullable Object getPropertyValue(Object object);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStoreTest.groovy
import java.lang.reflect.Method import static org.gradle.internal.reflect.annotations.AnnotationCategory.TYPE import static org.gradle.util.internal.TextUtil.normaliseLineSeparators class DefaultTypeAnnotationMetadataStoreTest extends Specification implements ValidationMessageChecker { private static final COLOR = new AnnotationCategory() { @Override String getDisplayName() { return "color" }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun Feb 11 15:31:37 UTC 2024 - 25.7K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/properties/InspectionSchemeFactoryTest.groovy
import spock.lang.Specification import javax.inject.Inject import java.lang.annotation.Retention import java.lang.annotation.RetentionPolicy import static org.gradle.internal.reflect.annotations.AnnotationCategory.TYPE class InspectionSchemeFactoryTest extends Specification { private final DocumentationRegistry documentationRegistry = new DocumentationRegistry() def handler1 = handler(Thing1)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 29 10:13:50 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadataStore.java
/** * A validating metadata store that handles annotations on types and their JavaBeans properties. * * <p> * The store considers property annotations to belong to {@linkplain AnnotationCategory categories}. * Each property can have at most one annotation per category. * Validation failures with a given type can be visited using {@link TypeAnnotationMetadata#visitValidationFailures(TypeValidationContext)}. * </p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 2.6K bytes - Viewed (0)