- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for isPublic (0.07 sec)
-
src/main/java/org/codelibs/core/lang/ModifierUtil.java
return isPublic(modifier) && isStatic(modifier) && isFinal(modifier); } /** * Checks if the specified modifier is public. * * @param modifier * the modifier to check * @return true if public, false otherwise */ public static boolean isPublic(final int modifier) { return Modifier.isPublic(modifier); } /**
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 5.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ConstructorUtil.java
* @return whether the constructor is <code>public</code> */ public static boolean isPublic(final Constructor<?> constructor) { assertArgumentNotNull("constructor", constructor); return Modifier.isPublic(constructor.getModifiers()); }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.1K bytes - Viewed (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)));
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 3.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-CacheControlCommon.kt
} return CacheControl( noCache = noCache, noStore = noStore, maxAgeSeconds = maxAgeSeconds, sMaxAgeSeconds = sMaxAgeSeconds, isPrivate = isPrivate, isPublic = isPublic, mustRevalidate = mustRevalidate, maxStaleSeconds = maxStaleSeconds, minFreshSeconds = minFreshSeconds, onlyIfCached = onlyIfCached, noTransform = noTransform, immutable = immutable,
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.2K bytes - Viewed (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()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt
// These members are accessible to response headers only. assertThat(cacheControl.sMaxAgeSeconds).isEqualTo(-1) assertThat(cacheControl.isPrivate).isFalse() assertThat(cacheControl.isPublic).isFalse() assertThat(cacheControl.mustRevalidate).isFalse() } @Test @Throws(Exception::class) fun parseEmpty() { val cacheControl = parse(Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/impl/ConstructorDescTest.java
assertThat(ctor.getConstructor(), is((Constructor) MyBean.class.getConstructor())); assertThat(ctor.getParameterTypes().length, is(0)); assertThat(ctor.isPublic(), is(true)); final MyBean myBean = ctor.newInstance(); assertThat(myBean, is(notNullValue())); assertThat(myBean.s, is(nullValue())); } /** * @throws Exception */
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.9K bytes - Viewed (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)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/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()); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java
return (Constructor<T>) constructor; } @Override public Class<?>[] getParameterTypes() { return parameterTypes; } @Override public boolean isPublic() { return ConstructorUtil.isPublic(constructor); } @Override public boolean isParameterized(final int index) { assertArgumentArrayIndex("index", index, parameterTypes.length);
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5K bytes - Viewed (0)