Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for childMethod (0.04 seconds)

  1. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertEquals("ROLE_PARENT_METHOD", parentSecured.value()[0]);
    
            // Overridden method does not inherit annotation
            Method childMethod = ChildClass.class.getMethod("parentMethod");
            Secured childSecured = childMethod.getAnnotation(Secured.class);
            assertNull(childSecured);
        }
    
        // Test child's own method annotation
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
Back to Top