Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 57 for AnnotationType (0.34 sec)

  1. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/internal/reflect/validation/ValidationMessageChecker.groovy

            String annotationType
            String propertyType
            String unsupportedValueType
    
            UnsupportedValueType(ValidationMessageChecker checker) {
                super(checker)
            }
    
            UnsupportedValueType annotationType(String annotationType) {
                this.annotationType = annotationType
                this
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 42.1K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

            return (isIncubating(interf) && !isIncubating(c)) || isInternal(interf)
        }
    
        private boolean isIncubating(CtClass c) {
            return c.annotations.any { it.annotationType().name == 'org.gradle.api.Incubating' }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/DefaultInstantiatorFactoryTest.groovy

        }
    
        def handler(Class<? extends Annotation> annotation) {
            InjectAnnotationHandler handler = Stub(InjectAnnotationHandler)
            handler.annotationType >> annotation
            return handler
        }
    }
    
    @Retention(RetentionPolicy.RUNTIME)
    @interface Annotation1 {
    }
    
    @Retention(RetentionPolicy.RUNTIME)
    @interface Annotation2 {
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      private static TesterRequirements buildTesterRequirements(Annotation testerAnnotation)
          throws ConflictingRequirementsException {
        Class<? extends Annotation> annotationClass = testerAnnotation.annotationType();
        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature[]) annotationClass.getMethod("value").invoke(testerAnnotation);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/AnnotationUtil.java

            assertArgumentNotNull("annotation", annotation);
    
            final Map<String, Object> map = newHashMap();
            final BeanDesc beanDesc = BeanDescFactory.getBeanDesc(annotation.annotationType());
            for (final String name : beanDesc.getMethodNames()) {
                final Object v = getProperty(beanDesc, annotation, name);
                if (v != null) {
                    map.put(name, v);
                }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. 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)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/properties/InspectionSchemeFactoryTest.groovy

        }
    
        def handler(Class<?> annotation) {
            def handler = Stub(PropertyAnnotationHandler)
            _ * handler.propertyRelevant >> true
            _ * handler.annotationType >> annotation
            return handler
        }
    }
    
    class AnnotatedBean {
        @Thing1
        String prop1
    
        @Thing2
        String prop2
    
        @Inject
        String prop3
    }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 29 10:13:50 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       */
      private static TesterRequirements buildTesterRequirements(Annotation testerAnnotation)
          throws ConflictingRequirementsException {
        Class<? extends Annotation> annotationClass = testerAnnotation.annotationType();
        Feature<?>[] presentFeatures;
        Feature<?>[] absentFeatures;
        try {
          presentFeatures = (Feature[]) annotationClass.getMethod("value").invoke(testerAnnotation);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/ModelSchemaUtilsTest.groovy

            methods.allMethods().values().flatten()*.declaringClass == [Child, Base]
            methods.allMethods().values()*.declaredAnnotations.flatten()*.annotationType() == [Nullable, Incubating]
        }
    
        @Managed
        abstract class ManagedType  {
            abstract String getValue()
            abstract void setValue(String value)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

                    Boolean present = annotations.get(annotationType);
                    if (present == null) {
                        // Multiple threads may calculate this at the same time, which is ok
                        present = locateAnnotation(annotationType);
                        annotations.putIfAbsent(annotationType, present);
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top