- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 62 for isPublic (0.08 seconds)
-
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
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 */ public void testIsInstanceField() throws Exception { Field f = Hoge.class.getDeclaredField("aaa");
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) -
src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java
} @Test public void test_isPublicClass() { assertTrue("FessActionValidator should be public", java.lang.reflect.Modifier.isPublic(FessActionValidator.class.getModifiers())); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 2.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
ImmutableSet.of("murmur2_64", "fprint96", "highwayFingerprint64", "highwayFingerprint128"); return method.getReturnType().equals(HashFunction.class) // must return HashFunction && Modifier.isPublic(method.getModifiers()) // only the public methods && method.getParameterTypes().length == 0 // only the seedless hash functions && !legacyHashingMethodNames.contains(method.getName()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 26.7K bytes - Click Count (2) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
assertTrue("parse should be static", java.lang.reflect.Modifier.isStatic(parseMethod.getModifiers())); assertTrue("parse should be public", java.lang.reflect.Modifier.isPublic(parseMethod.getModifiers())); assertEquals("parse should return String[]", String[].class, parseMethod.getReturnType()); // quoteEscape(String)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 18.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
Method[] methods = clazz.getMethods(); // Short circuit for the (hopefully) majority of cases where the // clazz is public if (Modifier.isPublic(clazz.getModifiers())) { return methods; } // No luck - the class is not public, so we're going the longer way. MethodInfo[] methodInfos = new MethodInfo[methods.length];
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
} @Test public void test_isPublicClass() { assertTrue("FessWebResourceRoot should be public", java.lang.reflect.Modifier.isPublic(FessWebResourceRoot.class.getModifiers())); assertFalse("FessWebResourceRoot should not be abstract", java.lang.reflect.Modifier.isAbstract(FessWebResourceRoot.class.getModifiers())); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SessionSetupHandlerTest.java
// Arrange & Act Class<SessionSetupHandler> clazz = SessionSetupHandler.class; // Assert assertTrue(clazz.isInterface(), "Should be an interface"); assertTrue(Modifier.isPublic(clazz.getModifiers()), "Interface should be public"); assertEquals("jcifs.smb", clazz.getPackageName(), "Package must match source");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.3K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
} result.addAll(c.declaredMethods.findAll { isPublicApi(it) }) collect(result, c.superclass) } private boolean isPublicApi(CtMethod method) { return Modifier.isPublic(method.modifiers) || Modifier.isProtected(method.modifiers) } private List<String> filterChangesToReport(CtClass c, Set<CtMethod> methods) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 4.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
} T jvmDefault = Defaults.defaultValue(Primitives.unwrap(type)); if (jvmDefault != null) { return jvmDefault; } if (Modifier.isAbstract(type.getModifiers()) || !Modifier.isPublic(type.getModifiers())) { return arbitraryConstantInstanceOrNull(type); } Constructor<T> constructor; try { constructor = type.getConstructor(); } catch (NoSuchMethodException e) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 21.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/SourceSinkTester.java
} static ImmutableList<Method> getTestMethods(Class<?> testClass) { List<Method> result = new ArrayList<>(); for (Method method : testClass.getDeclaredMethods()) { if (Modifier.isPublic(method.getModifiers()) && method.getReturnType() == void.class && method.getParameterTypes().length == 0 && method.getName().startsWith("test")) { result.add(method); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 4.9K bytes - Click Count (0)