- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for paramAnnotations (0.06 sec)
-
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
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) { hasCronExpression = true;
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
final Annotation[][] paramAnnotations = method.getParameterAnnotations(); assertNotNull("Parameter annotations should exist", paramAnnotations); assertEquals("Should have one parameter", 1, paramAnnotations.length); assertEquals("Parameter should have one annotation", 1, paramAnnotations[0].length); final UriType annotation = (UriType) paramAnnotations[0][0];
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0)