- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 173 for getMethod (0.17 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/AllocInfoTest.java
void shouldDefineGetCapacityMethod() throws NoSuchMethodException { // Verify method exists with correct signature assertNotNull(AllocInfo.class.getMethod("getCapacity")); assertEquals(long.class, AllocInfo.class.getMethod("getCapacity").getReturnType()); } @Test @DisplayName("Should define getFree method")
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/TempFileCreator.java
*/ Method currentMethod = processHandleClass.getMethod("current"); Method infoMethod = processHandleClass.getMethod("info"); Method userMethod = processHandleInfoClass.getMethod("user"); Method orElseMethod = optionalClass.getMethod("orElse", Object.class); Object current = currentMethod.invoke(null);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 29 18:50:14 GMT 2025 - 11.8K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java
@Require(IMPLIES_BAR) class Tester { @Keep @Require(IMPLIES_IMPLIES_FOO) public void test() {} } TesterRequirements requirements = buildTesterRequirements(Tester.class.getMethod("test")); assertThat(requirements.getPresentFeatures()) .containsExactly(IMPLIES_IMPLIES_FOO, IMPLIES_FOO, FOO, IMPLIES_BAR, BAR); assertThat(requirements.getAbsentFeatures()).isEmpty(); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 11.6K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
*/ @Test public void testMethodParameterType() throws Exception { final Map<TypeVariable<?>, Type> map = ParameterizedClassDescFactory.getTypeVariables(Hoge.class); final Method method = Hoge.class.getMethod("foo", Set.class, Map.class); ParameterizedClassDesc desc = ParameterizedClassDescFactory.createParameterizedClassDesc(method, 0, map); assertThat(desc.getRawClass(), is(sameClass(Set.class)));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.4K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
sslSocketClass.getDeclaredMethod("setUseSessionTickets", Boolean::class.javaPrimitiveType) private val setHostname = sslSocketClass.getMethod("setHostname", String::class.java) private val getAlpnSelectedProtocol = sslSocketClass.getMethod("getAlpnSelectedProtocol") private val setAlpnProtocols = sslSocketClass.getMethod("setAlpnProtocols", ByteArray::class.java) override fun isSupported(): Boolean = AndroidPlatform.isSupported
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 4.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
} @Test public void test_methodsExist() { // Verify required methods exist try { CustomSizeValidator.class.getMethod("initialize", CustomSize.class); CustomSizeValidator.class.getMethod("isValid", CharSequence.class, ConstraintValidatorContext.class); assertTrue("Required methods exist", true); } catch (final NoSuchMethodException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java
Method m1 = clazz.getMethod("shouldForceSigning"); assertEquals(boolean.class, m1.getReturnType()); assertEquals(0, m1.getParameterCount()); assertEquals(0, m1.getExceptionTypes().length); // overlaps(SmbResourceLocator): boolean, declares CIFSException Method m2 = clazz.getMethod("overlaps", SmbResourceLocator.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.9K bytes - Click Count (0) -
src/test/java/jcifs/SmbSessionTest.java
void shouldDefineCloseMethod() throws Exception { assertDoesNotThrow(() -> { java.lang.reflect.Method closeMethod = SmbSession.class.getMethod("close"); assertEquals("close", closeMethod.getName()); assertEquals(0, closeMethod.getParameterCount()); assertEquals(void.class, closeMethod.getReturnType());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformerTest.java
public void test_responseData_method() { final ResponseData responseData = new ResponseData(); responseData.setMethod("GET"); assertEquals("GET", responseData.getMethod()); responseData.setMethod("POST"); assertEquals("POST", responseData.getMethod()); } @Test public void test_responseData_metaDataMap() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jan 15 12:54:47 GMT 2026 - 8.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/filter/CorsFilter.java
logger.debug("HTTP Request: method={}", httpRequest.getMethod()); } final CorsHandlerFactory factory = ComponentUtil.getCorsHandlerFactory(); final CorsHandler handler = factory.get(origin); if (handler != null) { handler.process(origin, request, response); if (OPTIONS.equals(httpRequest.getMethod())) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 2.9K bytes - Click Count (0)