Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for AnnotationCategory (0.59 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/AnnotationCategory.java

     * limitations under the License.
     */
    
    package org.gradle.internal.reflect.annotations;
    
    import org.gradle.api.Describable;
    
    public interface AnnotationCategory extends Describable {
        AnnotationCategory TYPE = new AnnotationCategory() {
            @Override
            public String getDisplayName() {
                return "type";
            }
    
            @Override
            public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1014 bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultPropertyAnnotationMetadata.java

        private final TypeToken<?> declaredType;
        private final ImmutableMap<AnnotationCategory, Annotation> annotationsByCategory;
        private final ImmutableMap<Class<? extends Annotation>, Annotation> annotationsByType;
    
        public DefaultPropertyAnnotationMetadata(String propertyName, Method getter, ImmutableMap<AnnotationCategory, Annotation> annotationsByCategory) {
            this.propertyName = propertyName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/DefaultTypeMetadataStore.java

                for (Map.Entry<AnnotationCategory, Annotation> entry : propertyAnnotations.entrySet()) {
                    AnnotationCategory annotationCategory = entry.getKey();
                    if (annotationCategory == TYPE) {
                        continue;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/DefaultPropertyTypeResolver.java

    import org.gradle.internal.reflect.annotations.AnnotationCategory;
    
    import javax.annotation.Nullable;
    import java.lang.annotation.Annotation;
    import java.util.Map;
    
    public class DefaultPropertyTypeResolver implements PropertyTypeResolver {
        @Nullable
        @Override
        public Class<? extends Annotation> resolveAnnotationType(Map<AnnotationCategory, Annotation> propertyAnnotations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Nov 15 21:46:23 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/PropertyTypeResolver.java

    import org.gradle.internal.reflect.annotations.AnnotationCategory;
    
    import javax.annotation.Nullable;
    import java.lang.annotation.Annotation;
    import java.util.Map;
    
    /**
     * Resolves the type of the property, denoted by an annotation.
     */
    public interface PropertyTypeResolver {
        @Nullable
        Class<? extends Annotation> resolveAnnotationType(Map<AnnotationCategory, Annotation> propertyAnnotations);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

            private final ListMultimap<AnnotationCategory, Annotation> declaredAnnotations = MultimapBuilder
                .treeKeys(comparing(AnnotationCategory::getDisplayName))
                .arrayListValues()
                .build();
            private final SetMultimap<AnnotationCategory, Annotation> inheritedInterfaceAnnotations = MultimapBuilder
                .treeKeys(comparing(AnnotationCategory::getDisplayName))
                .linkedHashSetValues()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/validation/ValidationProblemPropertyAnnotationHandler.java

    import org.gradle.internal.properties.annotations.AbstractPropertyAnnotationHandler;
    import org.gradle.internal.properties.annotations.PropertyMetadata;
    import org.gradle.internal.reflect.annotations.AnnotationCategory;
    import org.gradle.internal.reflect.validation.TypeValidationContext;
    
    class ValidationProblemPropertyAnnotationHandler extends AbstractPropertyAnnotationHandler {
        public ValidationProblemPropertyAnnotationHandler() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/properties/annotations/TestPropertyTypeResolver.groovy

    import org.gradle.internal.reflect.annotations.AnnotationCategory
    
    import javax.annotation.Nullable
    import java.lang.annotation.Annotation
    
    class TestPropertyTypeResolver implements PropertyTypeResolver {
        public static final PropertyTypeResolver INSTANCE = new TestPropertyTypeResolver()
    
        @Nullable
        @Override
        Class<? extends Annotation> resolveAnnotationType(Map<AnnotationCategory, Annotation> propertyAnnotations) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/PropertyMetadata.java

        <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType);
    
        Optional<Annotation> getAnnotationForCategory(AnnotationCategory category);
    
        boolean hasAnnotationForCategory(AnnotationCategory category);
    
        Class<? extends Annotation> getPropertyType();
    
        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.4K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/ModifierAnnotationCategory.java

    import org.gradle.api.tasks.SkipWhenEmpty;
    import org.gradle.internal.reflect.annotations.AnnotationCategory;
    import org.gradle.work.Incremental;
    import org.gradle.work.NormalizeLineEndings;
    
    import java.lang.annotation.Annotation;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Map;
    
    public enum ModifierAnnotationCategory implements AnnotationCategory {
        INCREMENTAL("incremental",
            Incremental.class,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top