- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for paramTypes (0.06 seconds)
-
src/main/java/org/codelibs/core/exception/ConstructorNotFoundRuntimeException.java
return new String(buf); } private static String getSignature(final Class<?>... paramTypes) { if (paramTypes == null || paramTypes.length == 0) { return ""; } final StringBuilder buf = new StringBuilder(100); for (final Class<?> type : paramTypes) { if (type != null) { buf.append(type.getName()); } else {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 3.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/BeanDesc.java
/** * Returns the {@link ConstructorDesc} for the given parameter types. * * @param paramTypes * The array of parameter types for the constructor * @return The {@link ConstructorDesc} for the given parameter types */ ConstructorDesc getConstructorDesc(Class<?>... paramTypes); /** * Returns the {@link ConstructorDesc} that matches the given arguments. *Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRootTest.java
final Class<?>[] paramTypes = constructor.getParameterTypes(); assertEquals("Constructor should have one parameter", 1, paramTypes.length); assertEquals("Parameter should be Context type", Context.class, paramTypes[0]); } catch (final NoSuchMethodException e) { fail("Constructor with Context parameter should exist");
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 4.4K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rerun/TestTaskConfigurer.java
setTestExecuter(task, retryTestExecuter); } } private static Method declaredMethod(Class<?> type, String methodName, Class<?>... paramTypes) { try { return makeAccessible(type.getDeclaredMethod(methodName, paramTypes)); } catch (NoSuchMethodException e) { throw new RuntimeException(e); } } private static Method makeAccessible(Method method) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/SubtypeTester.java
Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType)) .isTrue(); assertWithMessage("%s is supertype of %s", returnType, paramType) .that(TypeToken.of(returnType).isSupertypeOf(paramType))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/SubtypeTester.java
Type returnType = method.getGenericReturnType(); Type paramType = getOnlyParameterType(); TestSubtype spec = method.getAnnotation(TestSubtype.class); assertWithMessage("%s is subtype of %s", paramType, returnType) .that(TypeToken.of(paramType).isSubtypeOf(returnType)) .isTrue(); assertWithMessage("%s is supertype of %s", returnType, paramType) .that(TypeToken.of(returnType).isSupertypeOf(paramType))
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:11:48 GMT 2026 - 6.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
final byte[] paramBytes = params.getBytes(SmbConstants.DEFAULT_OEM_ENCODING); byte[] buffer = new byte[10 + paramBytes.length + dataLen]; // copy params System.arraycopy(paramBytes, 0, buffer, 10, paramBytes.length); // copy data System.arraycopy(dataBytes, 0, buffer, 10 + paramBytes.length, Math.min(dataBytes.length, dataLen)); return buffer;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java
int setupBytes = transaction.writeSetupWireFormat(buffer, 0); assertEquals(2, setupBytes, "writeSetupWireFormat should return expected bytes"); int paramBytes = transaction.writeParametersWireFormat(buffer, 0); assertEquals(20, paramBytes, "writeParametersWireFormat should return expected bytes"); int dataBytes = transaction.writeDataWireFormat(buffer, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
FreshValueGenerator paramValues = new FreshValueGenerator(); List<@Nullable Object> passedArgs = new ArrayList<>(); for (Class<?> paramType : method.getParameterTypes()) { passedArgs.add(paramValues.generateFresh(paramType)); } return passedArgs.toArray(); } /** Tests a single interaction against a method. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0)