- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 62 for isPublic (0.07 seconds)
-
src/main/java/org/codelibs/core/lang/MethodUtil.java
* The method. Cannot be {@literal null} * @return <code>public</code> if the method is public */ public static boolean isPublic(final Method method) { assertArgumentNotNull("method", method); return Modifier.isPublic(method.getModifiers()); } /** * Returns whether the method is <code>static</code>. * * @param methodCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 12.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CacheControl.kt
* for non-shared caches, As in Firefox and Chrome, this directive is not honored by this cache. */ @get:JvmName("sMaxAgeSeconds") val sMaxAgeSeconds: Int, val isPrivate: Boolean, val isPublic: Boolean, @get:JvmName("mustRevalidate") val mustRevalidate: Boolean, @get:JvmName("maxStaleSeconds") val maxStaleSeconds: Int, @get:JvmName("minFreshSeconds") val minFreshSeconds: Int, /**Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 10K bytes - Click Count (0) -
guava-tests/test/com/google/common/net/MediaTypeTest.java
import static com.google.common.net.ReflectionFreeAssertThrows.assertThrows; import static com.google.common.truth.Truth.assertThat; import static java.lang.reflect.Modifier.isFinal; import static java.lang.reflect.Modifier.isPublic; import static java.lang.reflect.Modifier.isStatic; import static java.nio.charset.StandardCharsets.UTF_16; import static java.nio.charset.StandardCharsets.UTF_8; import static java.util.Arrays.asList;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 20.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java
Pattern labelPattern = Pattern.compile("^LABELS_[A-Za-z0-9_]+$"); for (Field field : fields) { if (Modifier.isStatic(field.getModifiers()) && Modifier.isFinal(field.getModifiers()) && Modifier.isPublic(field.getModifiers()) && field.getType() == String.class && !field.getName().equals("serialVersionUID")) { // Check field name follows convention
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 14K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
assertTrue("Default constructor should be public", java.lang.reflect.Modifier.isPublic(HotThreadMonitorTarget.class.getConstructor().getModifiers())); } @Test public void test_expired_method_is_public() throws Exception { assertTrue("expired method should be public", java.lang.reflect.Modifier.isPublic(HotThreadMonitorTarget.class.getMethod("expired").getModifiers())); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java
Field[] fields = FessHtmlPath.class.getDeclaredFields(); for (Field field : fields) { int modifiers = field.getModifiers(); if (Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) { if (field.getType().equals(HtmlNext.class)) { Object value = field.get(null);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java
java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getConstructor().getModifiers())); } @Test public void test_expired_method_is_public() throws Exception { assertTrue("expired method should be public", java.lang.reflect.Modifier.isPublic(SystemMonitorTarget.class.getMethod("expired").getModifiers())); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.2K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/MethodDescTest.java
assertThat(foo.getMethod(), is(MyBean.class.getMethod("foo"))); assertThat(foo.getMethodName(), is("foo")); assertThat(foo.getParameterTypes().length, is(0)); assertThat(foo.isPublic(), is(true)); assertThat(foo.isStatic(), is(not(true))); assertThat(foo.isFinal(), is(not(true))); assertThat(foo.isAbstract(), is(not(true)));
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/https/HandlerTest.java
void testDefaultHttpsPortModifiers() throws NoSuchFieldException { // When var field = Handler.class.getField("DEFAULT_HTTPS_PORT"); // Then assertTrue(Modifier.isPublic(field.getModifiers())); assertTrue(Modifier.isStatic(field.getModifiers())); assertTrue(Modifier.isFinal(field.getModifiers())); assertEquals(int.class, field.getType()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt
assertThat(cacheControl.maxAgeSeconds).isEqualTo(-1) assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1) assertThat(cacheControl.isPrivate).isFalse() assertThat(cacheControl.isPublic).isFalse() assertThat(cacheControl.mustRevalidate).isFalse() assertThat(cacheControl.maxStaleSeconds).isEqualTo(-1) assertThat(cacheControl.minFreshSeconds).isEqualTo(-1)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0)