Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for annotationType (0.05 sec)

  1. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertEquals("Annotation type should be CustomSize", CustomSize.class, customAnnotation.annotationType());
        }
    
        // Test annotation with empty keys
        public void test_annotationWithEmptyKeys() {
            final CustomSize emptyKeysAnnotation = new CustomSize() {
                @Override
                public Class<? extends Annotation> annotationType() {
                    return CustomSize.class;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

            assertEquals("Annotation type should be UriType", UriType.class, customAnnotation.annotationType());
        }
    
        // Test annotation with FILE protocol type
        public void test_annotationWithFileProtocolType() {
            final UriType fileAnnotation = new UriType() {
                @Override
                public Class<? extends Annotation> annotationType() {
                    return UriType.class;
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java

            }
        }
    
        private CustomSize createBasicAnnotation() {
            return new CustomSize() {
                @Override
                public Class<? extends Annotation> annotationType() {
                    return CustomSize.class;
                }
    
                @Override
                public String message() {
                    return "Size validation failed";
                }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

        public void test_annotationTargetElements() {
            CronExpression.class.isAnnotation();
            assertTrue(CronExpression.class.isAnnotation());
    
            // Check that annotation can be applied to METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER
            java.lang.annotation.Target target = CronExpression.class.getAnnotation(java.lang.annotation.Target.class);
            assertNotNull(target);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top