Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_fieldCannotBeAnnotated (0.21 seconds)

  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)
        @Test
        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();
    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