Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for annotationType (0.24 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/AbstractTypeAnnotationHandler.java

        protected AbstractTypeAnnotationHandler(Class<? extends Annotation> annotationType) {
            this.annotationType = annotationType;
        }
    
        private final Class<? extends Annotation> annotationType;
    
        @Override
        public Class<? extends Annotation> getAnnotationType() {
            return annotationType;
        }
    
        protected static void reportInvalidUseOfTypeAnnotation(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 09:10:37 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/properties/annotations/DefaultTypeMetadataStore.java

            @Override
            public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
                return annotationMetadata.isAnnotationPresent(annotationType);
            }
    
            @Override
            public <T extends Annotation> Optional<T> getAnnotation(Class<T> annotationType) {
                return annotationMetadata.getAnnotation(annotationType);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

            private final Class<? extends Annotation> annotationType;
    
            AnnotatedOrInPackageAnnotatedPredicate(Class<? extends Annotation> annotationType) {
                super("annotated (directly or via its package) with @" + annotationType.getName());
                this.annotationType = annotationType;
            }
    
            @Override
            public boolean test(JavaClass input) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

                    Class<? extends Annotation> annotationType = a.annotationType();
                    if ("org.eclipse.sisu.Typed".equals(annotationType.getName())
                            || "javax.enterprise.inject.Typed".equals(annotationType.getName())
                            || "jakarta.enterprise.inject.Typed".equals(annotationType.getName())) {
                        try {
                            Class<?>[] value =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/AbstractInputPropertyAnnotationHandler.java

            super(annotationType, Kind.INPUT, allowedModifiers);
        }
    
        protected static void validateUnsupportedInputPropertyValueTypes(
            PropertyMetadata propertyMetadata,
            TypeValidationContext validationContext,
            Class<? extends Annotation> annotationType
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

            for (Annotation annotation : annotations) {
                Class<? extends Annotation> annotationType = annotation.annotationType();
                if (propertyAnnotationCategories.containsKey(annotationType)) {
                    relevantAnnotations.put(annotationType, annotation);
                }
            }
            return relevantAnnotations.build();
        }
    
    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. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadata.java

            this.properties = ImmutableSortedSet.copyOf(properties);
            this.validationProblems = validationProblems;
        }
    
        @Override
        public ImmutableSet<Annotation> getAnnotations() {
            return annotations.values();
        }
    
        @Override
        public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/TypeAnnotationMetadata.java

         */
        ImmutableSet<Annotation> getAnnotations();
    
        /**
         * Whether an annotation of the given type is present on the type itself.
         */
        boolean isAnnotationPresent(Class<? extends Annotation> annotationType);
    
        /**
         * Information about the type and annotations of each property of the type.
         */
        ImmutableSortedSet<PropertyAnnotationMetadata> getPropertiesAnnotationMetadata();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

                Class<? extends Annotation> annotationType = handler.getAnnotationType();
                if (!enabledAnnotations.contains(annotationType)) {
                    builder.add(annotationType);
                } else {
                    InjectionPointQualifier injectionPointQualifier = annotationType.getAnnotation(InjectionPointQualifier.class);
                    if (injectionPointQualifier != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/annotations/TestAnnotationHandlingSupport.groovy

        private static class SimplePropertyAnnotationHandler extends AbstractPropertyAnnotationHandler {
    
            SimplePropertyAnnotationHandler(Class<? extends Annotation> annotationType, Kind kind, Collection<Class<? extends Annotation>> allowedModifiers) {
                super(annotationType, kind, ImmutableSet.copyOf(allowedModifiers))
            }
    
            @Override
            boolean isPropertyRelevant() {
                return true
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top