Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for paramTypes (0.04 sec)

  1. 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 {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. 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");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. 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.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 24 01:52:43 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

                Class<?>[] paramTypes = new Class<?>[params.length];
                for (int i = 0; i < params.length; i++) {
                    if (params[i] instanceof byte[]) {
                        paramTypes[i] = byte[].class;
                    } else if (params[i] instanceof Integer) {
                        paramTypes[i] = int.class; // Use primitive int.class instead of Integer.class
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  5. 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))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  7. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. 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. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  9. 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. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top