Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for paramTypes (0.31 sec)

  1. src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java

        public ConstructorDesc getConstructorDesc(final Class<?>... paramTypes) {
            for (final ConstructorDesc constructorDesc : constructorDescs) {
                if (Arrays.equals(paramTypes, constructorDesc.getParameterTypes())) {
                    return constructorDesc;
                }
            }
            throw new ConstructorNotFoundRuntimeException(beanClass, paramTypes);
        }
    
        @Override
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 25.8K bytes
    - Viewed (1)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        Class<?>[] paramTypes = constructor.getParameterTypes();
        Object[] params = new Object[paramTypes.length];
        for (int i = 0; i < paramTypes.length; i++) {
          Class<?> paramType = paramTypes[i];
          if (paramType.equals(String.class)) {
            params[i] = cause.toString();
          } else if (paramType.equals(Throwable.class)) {
            params[i] = cause;
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

        Class<?>[] paramTypes = constructor.getParameterTypes();
        Object[] params = new Object[paramTypes.length];
        for (int i = 0; i < paramTypes.length; i++) {
          Class<?> paramType = paramTypes[i];
          if (paramType.equals(String.class)) {
            params[i] = cause.toString();
          } else if (paramType.equals(Throwable.class)) {
            params[i] = cause;
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

        private static Object newPrivateInner(String simpleName, Class<?>[] paramTypes, Object... args) {
            try {
                Class<?> cls = Class.forName("jcifs.smb.SmbEnumerationUtil$" + simpleName);
                Constructor<?> ctor = cls.getDeclaredConstructor(paramTypes);
                ctor.setAccessible(true);
                return ctor.newInstance(args);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/PreauthIntegrityTest.java

                }
            }
            return null;
        }
    
        private Method findMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredMethod(methodName, paramTypes);
                } catch (NoSuchMethodException e) {
                    clazz = clazz.getSuperclass();
                }
            }
            return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        }
    
        private Method getSuperclassMethod(Class<?> clazz, String methodName, Class<?>... paramTypes) throws NoSuchMethodException {
            while (clazz != null) {
                try {
                    return clazz.getDeclaredMethod(methodName, paramTypes);
                } catch (NoSuchMethodException e) {
                    clazz = clazz.getSuperclass();
                }
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
Back to top