- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for annotationType (0.05 sec)
-
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) -
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) -
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: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 2.6K bytes - Viewed (0) -
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) -
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)