Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for paramAnnotations (1.17 sec)

  1. 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)
  2. 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)
Back to top