Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_fieldCannotBeAnnotated (0.8 sec)

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

            assertFalse(Arrays.asList(targetTypes).contains(ElementType.CONSTRUCTOR));
        }
    
        // Test annotation on field (should not compile, but test for completeness)
        public void test_fieldCannotBeAnnotated() {
            // Verify that Secured annotation's target does not include FIELD
            Target target = Secured.class.getAnnotation(Target.class);
            ElementType[] targetTypes = target.value();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.2K bytes
    - Viewed (0)
Back to top