- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for ModifierUtil (0.13 seconds)
-
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.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 5.3K bytes - Click Count (0) -
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));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0)