Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isPublicStaticFinalField (0.23 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 Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         *
         * @param field
         *            フィールド。{@literal null}であってはいけません
         * @return <code>public</code>,<code>static</code>,<code>final</code>かどうか
         */
        public static boolean isPublicStaticFinalField(final Field field) {
            assertArgumentNotNull("field", field);
    
            return isPublicStaticFinal(field.getModifiers());
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top