- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 51 for isPublic (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
assertTrue("setObject should be static", java.lang.reflect.Modifier.isStatic(setObjectMethod.getModifiers())); assertTrue("setObject should be public", java.lang.reflect.Modifier.isPublic(setObjectMethod.getModifiers())); assertEquals("setObject should return void", void.class, setObjectMethod.getReturnType()); // getObject(String)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 17.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
return type.isArray() ? typeName(type.getComponentType()) + "[]" : type.getName(); } public void testConstructor() throws Exception { Invokable<A, A> invokable = A.constructor(); assertTrue(invokable.isPublic()); assertFalse(invokable.isPackagePrivate()); assertFalse(invokable.isAbstract()); assertFalse(invokable.isStatic()); assertTrue(invokable.isAnnotationPresent(Tested.class)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 31.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
Field[] fields = SecurityInfo.class.getDeclaredFields(); for (Field field : fields) { int modifiers = field.getModifiers(); assertTrue(Modifier.isPublic(modifiers), "Field " + field.getName() + " should be public"); assertTrue(Modifier.isStatic(modifiers), "Field " + field.getName() + " should be static");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java
assertThat(hoge.getField(), is(MyBean.class.getDeclaredField("HOGE"))); assertThat(hoge.getFieldName(), is("HOGE")); assertThat(hoge.getFieldType(), is(sameClass(String.class))); assertThat(hoge.isPublic(), is(true)); assertThat(hoge.isStatic(), is(true)); assertThat(hoge.isFinal(), is(true)); assertThat(hoge.isParameterized(), is(not(true)));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 5K bytes - Click Count (0) -
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)