Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ModifierUtil (0.76 sec)

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

    import java.lang.reflect.Method;
    import java.lang.reflect.Modifier;
    
    /**
     * Utility class for modifier operations.
     *
     * @author shot
     */
    public abstract class ModifierUtil {
    
        /**
         * Do not instantiate.
         */
        protected ModifierUtil() {
        }
    
        /**
         * Checks if the specified method is public.
         *
         * @param method
         *            the method to check. Must not be null.
    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

            assertTrue(ModifierUtil.isPublicStaticFinalField(f));
            final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {});
            assertTrue(ModifierUtil.isPublic(m));
        }
    
        /**
         * @throws Exception
         */
        public void testIsInstanceField() throws Exception {
            Field f = Hoge.class.getDeclaredField("aaa");
            assertTrue(ModifierUtil.isInstanceField(f));
    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