- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getParameterAnnotations (1.25 sec)
-
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
public void test_annotationOnMethod() throws Exception { Method method = TestService.class.getDeclaredMethod("scheduledTask", String.class); Annotation[][] paramAnnotations = method.getParameterAnnotations(); assertEquals(1, paramAnnotations.length); boolean hasCronExpression = false; for (Annotation annotation : paramAnnotations[0]) { if (annotation instanceof CronExpression) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
public void test_annotationOnParameter() throws Exception { final Method method = UriTypeTest.class.getMethod("testMethodWithParameter", String.class); final Annotation[][] paramAnnotations = method.getParameterAnnotations(); assertNotNull("Parameter annotations should exist", paramAnnotations); assertEquals("Should have one parameter", 1, paramAnnotations.length);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0)