Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isTransient (0.04 sec)

  1. src/main/java/org/codelibs/core/lang/ModifierUtil.java

         *
         * @param field
         *            the field to check
         * @return true if transient, false otherwise
         * @see #isTransient(int)
         */
        public static boolean isTransient(final Field field) {
            return isTransient(field.getModifiers());
        }
    
        /**
         * Checks if the specified modifier is transient.
         *
         * @param modifier
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/lang/ModifierUtilTest.java

         * @throws Exception
         */
        public void testIsTransient() throws Exception {
            Field f = Hoge.class.getDeclaredField("bbb");
            assertTrue(ModifierUtil.isTransient(f));
            f = Hoge.class.getDeclaredField("s");
            assertFalse(ModifierUtil.isTransient(f));
        }
    
        /**
         * @throws Exception
         */
        public void testIsAbstract() throws Exception {
            assertTrue(ModifierUtil.isAbstract(Map.class));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
Back to top