Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isPublicStaticFinalField (0.07 sec)

  1. src/test/java/org/codelibs/core/lang/ModifierUtilTest.java

        /**
         * @throws Exception
         */
        public void testIsPublic() throws Exception {
            final Field f = Hoge.class.getDeclaredField("s");
            assertTrue(ModifierUtil.isPublicStaticFinalField(f));
            final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {});
            assertTrue(ModifierUtil.isPublic(m));
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         *
         * @param field
         *            the field to check. Must not be null.
         * @return true if public, static, and final, false otherwise
         */
        public static boolean isPublicStaticFinalField(final Field field) {
            assertArgumentNotNull("field", field);
    
            return isPublicStaticFinal(field.getModifiers());
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
Back to top