Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for AnnotationType (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/model/annotations/AbstractInputFilePropertyAnnotationHandler.java

        private final InputFilePropertyType filePropertyType;
    
        public AbstractInputFilePropertyAnnotationHandler(Class<? extends Annotation> annotationType, InputFilePropertyType filePropertyType, ImmutableSet<Class<? extends Annotation>> allowedModifiers) {
            super(annotationType, allowedModifiers);
            this.filePropertyType = filePropertyType;
        }
    
        @Override
        public boolean isPropertyRelevant() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. 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)
  8. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/tasks/ValidatePluginsPart1IntegrationTest.groovy

                error(unsupportedValueTypeConfig { type('MyTask').property('nestedBean.nestedInput').annotationType(annotation).unsupportedValueType(...
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/project/schemaFromGradleExtensions.kt

        override fun topLevelFunction(function: KFunction<*>, preIndex: DataSchemaBuilder.PreIndex) = null
    }
    
    
    private
    class CachedHierarchyAnnotationChecker(private val annotationType: KClass<out Annotation>) {
        fun isAnnotatedMaybeInSupertypes(kClass: KClass<*>): Boolean {
            // Can't use computeIfAbsent because of recursive calls
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 12:25:07 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                    Class<? extends Annotation> annotationType = annotation.annotationType();
                    if (annotationType.getAnnotation(Inherited.class) != null) {
                        continue;
                    }
                    Retention retention = annotationType.getAnnotation(Retention.class);
                    methodVisitor
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
Back to top